-
Menus management
How is the menues (MNT and MPR) VFP uses?
Thanks
Victor Navarro
Barranquilla, COLOMBIA
3008102508
ICQ 279 364 380
Face: +573008102508
MSN: eres_un_vago@hotmail.com
Mail: eres_un_vago@yahoo.es
Whatsapp: +573008102508
Skype: eres_un_vago
PIN: 7A3F5E60
-
Use of these is deprecated and discouraged in Lianja as they are specific to VFP and are desktop bound.
Use the section menus or section footers in place of these old FoxPro menus.
-
Well... but, how can do it for right-click menu?
Thanks again
Victor Navarro
Barranquilla, COLOMBIA
3008102508
ICQ 279 364 380
Face: +573008102508
MSN: eres_un_vago@hotmail.com
Mail: eres_un_vago@yahoo.es
Whatsapp: +573008102508
Skype: eres_un_vago
PIN: 7A3F5E60
-
1 Attachment(s)
Hi Victor,
Have a look at the 'Context Menu' attribute and the 'Context Menu' Custom Delegate.
Attachment 777
Regards,
Yvonne
-
Thanks Yvonne; another question, can I made a complete menu? i.e. many options?
Thanks again
Victor Navarro
Barranquilla, COLOMBIA
3008102508
ICQ 279 364 380
Face: +573008102508
MSN: eres_un_vago@hotmail.com
Mail: eres_un_vago@yahoo.es
Whatsapp: +573008102508
Skype: eres_un_vago
PIN: 7A3F5E60
-
Hi Victor,
The Context Menu is a single level menu, but you can have multiple options.
Regards,
Yvonne
-
Thanks again.
Where can I get some links about?
Victor Navarro
Barranquilla, COLOMBIA
3008102508
ICQ 279 364 380
Face: +573008102508
MSN: eres_un_vago@hotmail.com
Mail: eres_un_vago@yahoo.es
Whatsapp: +573008102508
Skype: eres_un_vago
PIN: 7A3F5E60
-
Hi Victor,
The 'Context menu' attribute is a comma-separated list, e.g.
The 'Context menu' delegate is called when you select a menu option and the name of the menu option is passed to the delegate.
Code:
////////////////////////////////////////////////////////////////
// Event delegate for 'contextmenu' event
proc page1_contacts_field1_contextmenu(action)
messagebox(action)
endproc
The Context Menu is displayed when you right-click on a field in Edit mode (inline edit or full section or page edit).
Regards,
Yvonne
-
Hi all,
can the "context menu" will be managed by code?
eg:
a = Lianja.get("myField")
a.contextmenu = "myMenuFunction()"
thanks
Fabio
-
Hi Fabio,
It's not currently. You can submit an Enhancement Request ticket to request it for a future release.
Regards,
Yvonne