Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: DataChanged

  1. #11
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    The validation is not called when the focus lost the field..
    is called only when I save the record..

  2. #12
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    Then please submit a ticket so that it is fixed.
    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. #13
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    ok, I insert the ticket.
    But I do not understand what it can serve DataChanged ..

    however Lasagna await you forever .. :-)

  4. #14
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    I have enhanced the delegates (and in the process changed the current behavior in RC3). There are now 3 delegates for fields in forms which you can find in the attributes dialog for fields:

    "Interactive Change"
    The delegate procedure for the InteractiveChange event. This is called after each key is pressed.


    "Change"
    The delegate procedure for the Changed event. This is called when the Enter key or the Tab key are pressed.


    "Data Changed"
    The delegate procedure for the DataChanged event. This is called when navigating between records in a section.
    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

  5. #15
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893

    Post

    I know ..
    just because you want the lasagna ..

  6. #16
    Member
    Join Date
    Feb 2012
    Location
    Ontario, Canada
    Posts
    98
    Just my thoughts but what about...

    InteractiveChange (after each key press)
    DataChanged (when data is changed and attempting to leave control i.e. Enter, Tab or click outside)
    RecordChanged (when record is changed)

  7. #17
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    Hi Robert,
    the Datachanged are invoked also when record is changed. but do not ask me why .. since there is also the "After Data Changed" in the section propery.. :-)
    instead of the date Chagend, you must use the "Change"

  8. #18
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    Datachanged is called when the "data" in the section changes. This occurs when navigating between records.

    This is true for all types of sections so even a webview, chart etc will cause the datachanged delegate to be called. It is not specific to records, it is specific to "data" thats why its called DataChanged.

    I've already explained the delegates further up in this thread.
    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

  9. #19
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,186
    Quote Originally Posted by barrymavin View Post
    I have enhanced the delegates (and in the process changed the current behavior in RC3). There are now 3 delegates for fields in forms which you can find in the attributes dialog for fields:

    "Interactive Change"
    The delegate procedure for the InteractiveChange event. This is called after each key is pressed.


    "Change"
    The delegate procedure for the Changed event. This is called when the Enter key or the Tab key are pressed.


    "Data Changed"
    The delegate procedure for the DataChanged event. This is called when navigating between records in a section.
    Excellent

  10. #20
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,186
    This is true for all types of sections so even a webview, chart etc will cause the datachanged delegate to be called.
    So to clarify, if a timer is refreshing a chart that is not connected to any records but rather to a web service, on the change of the data in the chart the DataChanged delegate will fire. Is that correct?

    thanks,

    Hank

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