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.

Beta 5a

Foro público de Xailer en español
Responder
Andy Ross
Mensajes: 1
Registrado: Mié Oct 05, 2005 5:25 pm

Beta 5a

Mensaje por Andy Ross »

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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Beta 5a

Mensaje por jfgimenez »

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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder