Página 1 de 1
Toolbar problem
Publicado: Sab Jul 01, 2006 7:23 pm
por Giuseppe Bogetti
Hi,
using RC1 I've got a problem with a button of the toolbar which owns a
submenu as you can see in the attached image.
It seems that the button doesn't consider the extra width needed to display
the down arrow.
I've build the item of the toolbar by code as follows:
::oMenu var is previously initialized with the definition of the popup menu to be shown
:AddButton( "", "BMP_MAIN_OPEN16", "BMP_MAIN_OPEN_H16", "BMP_MAIN_OPEN_D16",
LT( MSG_MENU_FILECONNECTMSG ),, ::oMenuConn )
Am I doing something wrong ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
--
Toolbar problem
Publicado: Sab Jul 01, 2006 7:39 pm
por jfgimenez
Giuseppe,
> using RC1 I've got a problem with a button of the toolbar which owns a
> submenu as you can see in the attached image.
>
> It seems that the button doesn't consider the extra width needed to
> display
> the down arrow.
>
> I've build the item of the toolbar by code as follows:
>
> ::oMenu var is previously initialized with the definition of the popup
> menu to be shown
>
> :AddButton( "", "BMP_MAIN_OPEN16", "BMP_MAIN_OPEN_H16",
> "BMP_MAIN_OPEN_D16",
> LT( MSG_MENU_FILECONNECTMSG ),, ::oMenuConn )
Do not set any size for the toolbar buttons. That is, remove any line like
:nBtnWidth := x and/or :nBtnHeight := y, or set both properties to 0.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Toolbar problem
Publicado: Sab Jul 01, 2006 7:39 pm
por jfgimenez
Giuseppe,
> using RC1 I've got a problem with a button of the toolbar which owns a
> submenu as you can see in the attached image.
>
> It seems that the button doesn't consider the extra width needed to
> display
> the down arrow.
>
> I've build the item of the toolbar by code as follows:
>
> ::oMenu var is previously initialized with the definition of the popup
> menu to be shown
>
> :AddButton( "", "BMP_MAIN_OPEN16", "BMP_MAIN_OPEN_H16",
> "BMP_MAIN_OPEN_D16",
> LT( MSG_MENU_FILECONNECTMSG ),, ::oMenuConn )
Do not set any size for the toolbar buttons. That is, remove any line like
:nBtnWidth := x and/or :nBtnHeight := y, or set both properties to 0.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Toolbar problem
Publicado: Dom Jul 02, 2006 10:01 pm
por Giuseppe Bogetti
Il Sat, 1 Jul 2006 19:39:22 +0200, Jose F. Gimenez ha scritto:
Jose,
> Do not set any size for the toolbar buttons. That is, remove any line like
>:nBtnWidth := x and/or :nBtnHeight := y, or set both properties to 0.
It worked thanks.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Toolbar problem
Publicado: Dom Jul 02, 2006 10:01 pm
por Giuseppe Bogetti
Il Sat, 1 Jul 2006 19:39:22 +0200, Jose F. Gimenez ha scritto:
Jose,
> Do not set any size for the toolbar buttons. That is, remove any line like
>:nBtnWidth := x and/or :nBtnHeight := y, or set both properties to 0.
It worked thanks.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy