ToolBar position in a form
Moderator: Rathinagiri
ToolBar position in a form
I can't find if it's a way to position toolbar anywhere I want on the form.
Do anybody have an idea how to move it?
Do anybody have an idea how to move it?
- serge_girard
- Posts: 3170
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: ToolBar position in a form
Marek,
I don't think it is possible. Anyway I never found it!
Serge
I don't think it is possible. Anyway I never found it!
Serge
There's nothing you can do that can't be done...
Re: ToolBar position in a form
Is the only way building own toolbar? Strange..
Re: ToolBar position in a form
Hi Marek,
If you are talking about floating toolbar, this feature is available in MiniGUI Ex build.
The source code to define the above toolbar is below.
Code: Select all
...
DEFINE WINDOW Form_Fl ;
AT 0,0 ;
WIDTH 200 HEIGHT 80 ;
TITLE 'ToolBar Float Small Buttons';
PALETTE ;
ON SIZE flResizeTb();
ON INIT AdjustFloatToolbar( GetFormHandle('Form_1'), GetFormHandle('Form_fl'), GetControlHandle ('ToolBar_i' , 'Form_fl' ) )
DEFINE TOOLBAREX ToolBar_i BUTTONSIZE 16,16 IMAGELIST IDB_STD_SMALL_COLOR CAPTION 'Small Buttons from DLL' FLAT
BUTTON Button_1 ;
PICTUREINDEX STD_FILENEW ;
TOOLTIP 'New file';
ACTION MsgInfo('Click! ')
BUTTON Button_2 ;
PICTUREINDEX STD_FILEOPEN ;
TOOLTIP 'File open';
ACTION MsgInfo('Click! ')
BUTTON Button_3 ;
PICTUREINDEX STD_FILESAVE ;
TOOLTIP 'Save file';
ACTION MsgInfo('Click! ');
BUTTON Button_4 ;
PICTUREINDEX STD_PRINTPRE ;
TOOLTIP 'Print Preview';
ACTION MsgInfo('Click! ')
BUTTON Button_5 ;
PICTUREINDEX STD_PRINT ;
TOOLTIP 'Print ';
ACTION MsgInfo('Click! ');
BUTTON Button_6 ;
PICTUREINDEX STD_PROPERTIES ;
TOOLTIP 'Properties';
ACTION MsgInfo('Click! ')
BUTTON Button_7 ;
PICTUREINDEX STD_REPLACE ;
TOOLTIP 'Replace';
ACTION MsgInfo('Click! ');
BUTTON Button_8 ;
PICTUREINDEX STD_FIND ;
TOOLTIP 'Find';
ACTION MsgInfo('Click! ');
BUTTON Button_9 ;
PICTUREINDEX STD_CUT ;
TOOLTIP 'Cut';
ACTION MsgInfo('Click! ');
BUTTON Button_10 ;
PICTUREINDEX STD_DELETE ;
TOOLTIP 'Delete';
ACTION MsgInfo('Click! ');
BUTTON Button_11 ;
PICTUREINDEX STD_PASTE ;
TOOLTIP 'Paste';
ACTION MsgInfo('Click! ');
BUTTON Button_12 ;
PICTUREINDEX STD_UNDO ;
TOOLTIP 'Undo';
ACTION MsgInfo('Click! ');
BUTTON Button_13 ;
PICTUREINDEX STD_REDOW ;
TOOLTIP 'Redo';
ACTION MsgInfo('Click! ');
BUTTON Button_14 ;
PICTUREINDEX STD_HELP ;
TOOLTIP 'Help';
ACTION MsgInfo('Click! ');
END TOOLBAR
END WINDOW
CENTER WINDOW Form_Fl
ACTIVATE WINDOW Form_Fl
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
- serge_girard
- Posts: 3170
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: ToolBar position in a form
It's useful, but I thought about placing ordinary toolbar at the of the form
-
- Posts: 683
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: ToolBar position in a form
Hi Mol:
The best place to put a Toolbar is at the top of the form.-
As it is a container, you can define many toolbars in diferent modal windows, so as it is, its absolutly versatile.-
I remember that somebody long time ago, put the toolbar at the bottom of the form, but its not usefull.-
As lots of app manages toolbar at the top, end users are familiarized looking options at the op of form.-
Just an opinion.-
With regards. Eduardo
The best place to put a Toolbar is at the top of the form.-
As it is a container, you can define many toolbars in diferent modal windows, so as it is, its absolutly versatile.-
I remember that somebody long time ago, put the toolbar at the bottom of the form, but its not usefull.-
As lots of app manages toolbar at the top, end users are familiarized looking options at the op of form.-
Just an opinion.-
With regards. Eduardo
Re: ToolBar position in a form
I agree that the best place of toolbar is at the top. But, my form has two functions: one to add cheque and second - list of clients with texboxes of its properties and possibilities to edit and add new one.
It's my client request.
It's my client request.
Re: ToolBar position in a form
Hi Marek,
How about using a vertical toolbar as shown in the image below
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein