ButtonBar in Folders

ButtonBar in Folders

Postby nageswaragunupudi » Thu Dec 13, 2007 6:48 am

I like to have two or more buttonbars ( tbar() ) in folders, so that the user can switch button bars by choosing the folder tab.

We can do with rebars and toolbars, but I like to do it with FWH buttonbars and folders.

Can this be done easily ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10249
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sun Dec 16, 2007 6:48 am

NageswaraRao,

Please post a screenshot, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41318
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby nageswaragunupudi » Sun Dec 16, 2007 10:41 am

This is a part of the screen shot from rebars.prg. This is done thro rebars and toolbar.

Instead I like to get similar functionality using FWH Buttonbar ( tbar() ) in FWH folders.

Image

If can be done, this will have simpler functionality as officebar, without all that ornamentation and should be easier for development.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10249
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sun Dec 16, 2007 11:07 am

NageswaraRao,

Do you mean that you want to place a buttonbar on each dialog of a folder ?

If yes, then you can do it from the ON INIT clause of the main dialog:
Code: Select all  Expand view
ACTIVATE DIALOG oDlg ;
   ON INIT BuildBars( oFolder )

...

function BuildBars( oFolder )

   local oBar

   DEFINE BUTTONBAR oBar OF oFolder:aDialogs[ 1 ] 3D

   DEFINE BUTTON OF oBar ...

   ...

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41318
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 13 guests