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 ?
ButtonBar in Folders
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
ButtonBar in Folders
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
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.
If can be done, this will have simpler functionality as officebar, without all that ornamentation and should be easier for development.
Instead I like to get similar functionality using FWH Buttonbar ( tbar() ) in FWH folders.
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
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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:
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
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