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
--
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Toolbar problem
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Toolbar problem
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
> 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
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
> 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
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Toolbar problem
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
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
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Toolbar problem
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
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