Dear All,
Anyway to query a toolbar width (something like the total sum of tool button widths)?
ToolBar Width
Moderator: Rathinagiri
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
ToolBar Width
Kind regards,
Gilbert.
Gilbert.
Re: ToolBar Width
Hi Karweru
win1.ControlName.ButtonWidth * nButtons
win1.ControlName.ButtonHeight * nButtons
DEFINE TOOLBAR <ControlName>
[ OF | PARENT <ParentWindowName> ]
[ BUTTONSIZE <nWidth> , <nHeight> ]
win1.ControlName.ButtonWidth * nButtons
win1.ControlName.ButtonHeight * nButtons
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Re: ToolBar Width
Thank you Andres,
This seems to be giving inaccurate results because the buttons are not all equal in width.
This seems to be giving inaccurate results because the buttons are not all equal in width.
Kind regards,
Gilbert.
Gilbert.
Re: ToolBar Width
No entiendo, en la definicion del toolbar se le está indicando
BUTTONSIZE <nWidth> , <nHeight> que supongo es para todos
los botones igual. en la definicion del boton, no tiene estas propiedades
como para que sean diferentes.
A menos que se vea afectado por:
--------------------------------------------------------------------------
I do not understand, in the definition of the toolbar it is being indicated
BUTTONSIZE <nWidth>, <nHeight> that I guess is for everyone
the buttons equal. in the definition of the button, it does not have these properties
so that they are different.
Unless it is affected by:
IMAGESIZE <nWidth> , <nHeight>, [ STRICTWIDTH ] ó [ AUTOSIZE ]
DEFINE TOOLBAR <ControlName>
[ OF | PARENT <ParentWindowName> ]
[ BUTTONSIZE <nWidth> , <nHeight> ]
[ IMAGESIZE <nWidth> , <nHeight> ]
[ STRICTWIDTH ]
[ FONT <cFontName> ]
[ SIZE <nFontSize> ]
[ BOLD ]
[ ITALIC ]
[ UNDERLINE ]
[ STRIKEOUT ]
[ TOOLTIP <cTooltipText> ]
[ FLAT ]
[ BOTTOM ]
[ RIGHTTEXT ]
[ GRIPPERTEXT ]
[ BORDER ]
[ BREAK ]
BUTTON <Controlname>
[ CAPTION <cCaption> ]
[ PICTURE <cPictureName> ]
[ ACTION | ON CLICK | ONCLICK <ActionProcedureName> | <bBlock> ]
[ TOOLTIP <cToolTipText> ]
[ SEPARATOR ]
[ AUTOSIZE ]
[ DROPDOWN ]
[ WHOLEDROPDOWN ]
[ CHECK ]
[ GROUP ]
[ NOTRANSPARENT ]
BUTTONSIZE <nWidth> , <nHeight> que supongo es para todos
los botones igual. en la definicion del boton, no tiene estas propiedades
como para que sean diferentes.
A menos que se vea afectado por:
--------------------------------------------------------------------------
I do not understand, in the definition of the toolbar it is being indicated
BUTTONSIZE <nWidth>, <nHeight> that I guess is for everyone
the buttons equal. in the definition of the button, it does not have these properties
so that they are different.
Unless it is affected by:
IMAGESIZE <nWidth> , <nHeight>, [ STRICTWIDTH ] ó [ AUTOSIZE ]
DEFINE TOOLBAR <ControlName>
[ OF | PARENT <ParentWindowName> ]
[ BUTTONSIZE <nWidth> , <nHeight> ]
[ IMAGESIZE <nWidth> , <nHeight> ]
[ STRICTWIDTH ]
[ FONT <cFontName> ]
[ SIZE <nFontSize> ]
[ BOLD ]
[ ITALIC ]
[ UNDERLINE ]
[ STRIKEOUT ]
[ TOOLTIP <cTooltipText> ]
[ FLAT ]
[ BOTTOM ]
[ RIGHTTEXT ]
[ GRIPPERTEXT ]
[ BORDER ]
[ BREAK ]
BUTTON <Controlname>
[ CAPTION <cCaption> ]
[ PICTURE <cPictureName> ]
[ ACTION | ON CLICK | ONCLICK <ActionProcedureName> | <bBlock> ]
[ TOOLTIP <cToolTipText> ]
[ SEPARATOR ]
[ AUTOSIZE ]
[ DROPDOWN ]
[ WHOLEDROPDOWN ]
[ CHECK ]
[ GROUP ]
[ NOTRANSPARENT ]
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.