Results 1 to 3 of 3

Thread: FormItem HotKey pressed

Hybrid View

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882

    FormItem HotKey pressed

    Hi,
    if I call a function by hotkey, can I know the field where is pressed?

    I need to create a general function and I can't include custom parameters on the function called.

    for example, on data changesd, I can insert:
    MyDataChanged(this)..

    on the HotKey delegate?

    In my planned app, I've a lot of formitem with this need and I can't create a single "HotKey" function for each formitem.

    thanks
    Fabio

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

    If it is desktop Lianja/VFP code, you can get:

    Code:
    Lianja.activepage.activesection.activecontrol.fullid
    Regards,

    Yvonne

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,882
    Many thanks Yvonne,
    I didn't know that property..

    now I try
    thanks
    Fabio

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