Die Suche ergab 16 Treffer

von Mesa
10.02.2023 16:03
Forum: Code, Tipps und Tricks
Thema: PB-Tool: Alle Verweise finden
Antworten: 22
Zugriffe: 12176

Re: PB-Tool: Alle Verweise finden

Danke, das ist sehr hilfreich.

Allerdings funktioniert die Suche nach Konstanten (#abc...) nicht.
Das ist eine Schande.
Vielleicht, weil "SelectedWord" kein "#" zurückgibt, während Regex es zurückgibt?

Define SelectedWord.s = GetEnvironmentVariable("PB_TOOL_Word") -> kein "#"

M.
(Google ...
von Mesa
02.07.2012 16:58
Forum: Feedback - Spiele
Thema: CHIP-8 Emulator
Antworten: 3
Zugriffe: 3589

Re: CHIP-8 Emulator

Für weitere Informationen:
Ich machte einen Emulator chip8 im Dezember 2001 auf der Französisch-Forum.
Dies ist tatsächlich eine Übersetzung eines C-Emulator übersetzt in PureBasic.
(Text von Google übersetzt)

http://www.purebasic.fr/french/viewtopic.php?f=21&t=12415&p=137132&hilit=chip8#p137132 ...
von Mesa
25.06.2012 17:34
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

Hello,

Could you test this :

Code: Alles auswählen

ReturnValue=ExcelObject\GetIntegerProperty("ActiveSheet\PageSetup\Pages\Count")
It could work with Excel 2007 and more but it doesn't work with Excel 2003.

Mesa.
von Mesa
23.06.2012 10:58
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

Hello,

Sorry, it doesn't work even changing worksheet by ActiveSheet.

Do you think it is possible to use pure VBA code with comateplus ?

Mesa.
von Mesa
22.06.2012 09:44
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

Hello,

I have the same problem.
In fact I try to get the total number of pages for printing.
In the header, there would be : Page 1/10.
This is the 10 (total number of pages) I am interested.
The solution ? = Hpagebreaks.count gives the number of page break, so I think the total number of page ...
von Mesa
21.06.2012 12:23
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

Hello,

VBA:
&P : es funktioniert
&N : es funktioniert

PUREBASIC
&P : es funktioniert
&N : es funktioniert nicht, Ich habe den Namen des Arbeitsblatts statt
i've got the name of the worksheet instead :o

And you ?
und Sie ?

replace &N by Hpagebreaks.count maybe ?
ersetzen & N durch Hpagebreaks ...
von Mesa
19.06.2012 18:29
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

Hello,

A little bug here :
Hier ein kleiner Bug :

Procedure XLSFunc_SetColumnWidht(ExcelObject.COMateObject, Range.s,Width.f); Set ColumnWidth to one or more Columns
ExcelObject\Invoke("Columns('"+Range+"')\Select")
ExcelObject\SetProperty("Selection\ColumnWidth="+Str(Width))
EndProcedure ...
von Mesa
15.06.2012 09:27
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

I'm looking for this
Ich durchsuchen

x = Range("Test").Value 'This returns Value from named cell

(=>XLSFunc_ReadCellWithName(ExcelObject.COMateObject, name.s))

Mesa.
von Mesa
14.06.2012 19:31
Forum: Code, Tipps und Tricks
Thema: ExcelFunktionen COMatePlus
Antworten: 179
Zugriffe: 103683

Re: ExcelFunktionen COMatePlus

A cell has coordinates (eg B2) but it is possible to give a name to a cell (insertion / name).

How to retrieve the contents of a cell with its name (not its coordinates)?
Thank you.

google translate :
Hat eine Zelle Koordinaten (zB B2) es möglich ist, zielen darauf ab, einen Namen zu einer Zelle ...
von Mesa
23.05.2012 16:33
Forum: Code, Tipps und Tricks
Thema: LayoutManager, automatische Anordnung von Gadgets, Layout
Antworten: 30
Zugriffe: 13073

Re: LayoutManager, automatische Anordnung von Gadgets, Layou

Hello,

können Sie mir erklären, was ist die Konstante : #AWPB_GUILO_SIZER_HAS_MAXSIZE_FUNC ?
could you explain to me what is the function of the constant #AWPB_GUILO_SIZER_HAS_MAXSIZE_FUNC ?

Thx.

Mesa.