
http://forums.fivetechsoft.com/viewtopic.php?t=11704

Code: Select all
oPanel:AddLink( "Ende", { Ende() },"folderimg" )
Code: Select all
aRect3 := GetSysmetrics( 1 ) // Screen-Height
aRect4 := GetSysmetrics( 0 ) // Screen-width
IF MsgYesNo( "Create Explorer-Menue with MDI-Window ?", ;
"Your option" )
DEFINE WINDOW oWnd ;
FROM 0, 0 TO aRect3, aRect4 PIXEL;
TITLE "Explorer-Bar with MDI-Window" ;
MDI
ELSE
DEFINE WINDOW oWnd ;
FROM 0, 0 TO aRect3, aRect4 PIXEL;
TITLE "Explorer-Bar"
ENDIF
I'll be Back,ukoenig wrote:Hello James,
do you know, if it is possible to change or work with a defined font ?
Best Regards
Uwe
Code: Select all
oBar := TExplorerBar():New()
oPanel := oBar:AddPanel("1. Menü" )
oPanel:lSpecial := .T. // aktive Kopfleiste
oPanel:SetFont ( oFont1 )
oPanel:AddLink("1. Auswahl", bClick,"presentation")
oPanel:AddLink("2. Auswahl", bClick,"welt")
oPanel:AddLink("3. Auswahl", bClick,"drucker")
oPanel:AddLink("4. Auswahl", bClick,"copycd")
oPanel := oBar:AddPanel("2. Menü" )
oPanel:lSpecial := .T.
oPanel:SetFont ( oFont2 )
oPanel:AddLink("1. Auswahl", bClick,"eingfolder")
oPanel:AddLink("2. Auswahl", bClick,"Bildschirm")
oPanel:AddLink("3. Auswahl", bClick,"Service")
// I want to hide the contents of < 2. Menü >
// on a special workstation on start
// it could be a result of the user-loggin
IF user = .........
oPanel:Collapse()
ENDIF
Unfortunately, this would mean you would have to call the method to find the status, and calling the method would change the status.If there would be a return .T. or .F., of the status Collapse() / Expand(), it would be possible, to save the settings at prog-end and do a prog-start with the saved settings.