Das FlowFact.Application Object im Detail:

Diese Befehle entsprechen 1:1 den Befehlen aus der Toolbar.

FlowFact.Application.Commands

Add

ByVal strID As String, ByVal strName As String, strMacro As String, ByVal strImageKey As String)
StrID eindeutige ID
StrName = Displayname
StrMakro bzw. Kurzbefehl (Syntax wie bei Spezialabkürzung)
Bitmap (vordefinierte siehe Commandsobjekt)

Falls strMacro="TypeMenu" dann wird ein Command-Object vom Typ "Menü" erzeugt.

 

AddComboBox

ByVal strID As String, ByVal strName As String, strMacro As String, ByVal strImageKey As String, strList)

Parameter wie bei Add.

 

strList Liste Als Seperator wird ein Pipe ("|") verwendet.

 

Beispiel:

commands.addcombobox "Firma","HalloFirma","Test1","bmpHILFE","A|B|C|D"

strMacro wird zur Zeit nicht verwendet.

Zugriff auf den ausgewählten Eintrag  über das Text-Property (Lesen/Schreiben)

Execute

 

Item(Index)

Properties:
Category
Checked
ID
ImageKey
Name
Enabled
Text

IMAGES

Bitmap-Collection. Auch erweiterbar

AddImage Byval strName,Byval strPath

Lädt ein Bitmap in die Images-Collection. Format: 16x16 Pixel.

Beispiel:

commands.addimage "bmpOutlook","c:\outlook.bmp"

 

Öffnet bzw. aktualisiert die Startseite (Menü)...