Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Menus management

  1. #1
    Senior Member
    Join Date
    Apr 2013
    Location
    Soledad, Atlántico, Colombia
    Posts
    117

    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

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,890
    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.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Apr 2013
    Location
    Soledad, Atlántico, Colombia
    Posts
    117
    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

  4. #4
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,446
    Hi Victor,

    Have a look at the 'Context Menu' attribute and the 'Context Menu' Custom Delegate.

    Name:  right_click_menu.jpg
Views: 225
Size:  45.9 KB

    Regards,

    Yvonne

  5. #5
    Senior Member
    Join Date
    Apr 2013
    Location
    Soledad, Atlántico, Colombia
    Posts
    117
    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

  6. #6
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,446
    Hi Victor,

    The Context Menu is a single level menu, but you can have multiple options.

    Regards,

    Yvonne

  7. #7
    Senior Member
    Join Date
    Apr 2013
    Location
    Soledad, Atlántico, Colombia
    Posts
    117
    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

  8. #8
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,446
    Hi Victor,

    The 'Context menu' attribute is a comma-separated list, e.g.

    Code:
    Menu1,Menu2,Menu3
    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

  9. #9
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882
    Hi all,
    can the "context menu" will be managed by code?

    eg:
    a = Lianja.get("myField")
    a.contextmenu = "myMenuFunction()"

    thanks
    Fabio

  10. #10
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,446
    Hi Fabio,

    It's not currently. You can submit an Enhancement Request ticket to request it for a future release.

    Regards,

    Yvonne

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us