I cannot get the options button to activate on the Menu component. When I
click the aItems button, nothing happens. When I try to type in options,
they do not stay. Am I misunderstanding how to use a TMenu object?
Andy
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.
Beta 5a
Beta 5a
Andy,
>I cannot get the options button to activate on the Menu component. When I
>click the aItems button, nothing happens. When I try to type in options,
>they do not stay. Am I misunderstanding how to use a TMenu object?
Sorry, the menu editor is not already available. Meanwhile you can create
menus from code, in the form's OnInitialize event:
METHOD FormInitialize( oSender ) CLASS TForm1
MENU ::oMenu
MENUITEM "&File"
MENU
MENUITEM "&Open" ACTION {|| OpenFile() }
MENUITEM "&Close" ACTION {|| CloseFile() }
...
SEPARATOR
MENUITEM "&Quit" ACTION {|| ::Close() }
ENDMENU
MENUITEM "&Edit"
...
ENDMENU
RETURN Nil
--
Un saludo,
José F. Giménez
>I cannot get the options button to activate on the Menu component. When I
>click the aItems button, nothing happens. When I try to type in options,
>they do not stay. Am I misunderstanding how to use a TMenu object?
Sorry, the menu editor is not already available. Meanwhile you can create
menus from code, in the form's OnInitialize event:
METHOD FormInitialize( oSender ) CLASS TForm1
MENU ::oMenu
MENUITEM "&File"
MENU
MENUITEM "&Open" ACTION {|| OpenFile() }
MENUITEM "&Close" ACTION {|| CloseFile() }
...
SEPARATOR
MENUITEM "&Quit" ACTION {|| ::Close() }
ENDMENU
MENUITEM "&Edit"
...
ENDMENU
RETURN Nil
--
Un saludo,
José F. Giménez