Great freeware control for FiveWin from Andrés Reyes 
http://forums.fivetechsoft.com/viewtopic.php?t=11704

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



oPanel:AddLink( "Ende", { Ende() },"folderimg" )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"
ENDIFHere are two undocumented methods of the Panel class of TExplorerbar (not to be confused with the Panel class of native FWH).
collapse()
expand()
James
Hello James,
do you know, if it is possible to change or work with a defined font ?
Best Regards
Uwe ![]()
ukoenig wrote:Hello James,
do you know, if it is possible to change or work with a defined font ?
Best Regards
Uwe

Andres,
May I also suggest adding oFont to the parameters for the New() methods for all the classes. This way we can also use xBase syntax "FONT oFont" with the use of the include file.
James
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
I would like to say only this much, that this is best control we got for FW in the recent past. Lots of thanks to Mr. Andrés Reyes.
I hope Mr. Andrés Reyes will continue this help with updates and upgrades compatible with future versions of (x)Harbour and FWH.
Thanks again to Mr. Andrés Reyes
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.
