TwwRecordViewPanel - OnKeyDown?

Comments

3 comments

  • kyle

    I found a workaround. Assign the events in the BeforeInsert of attached dataset or state change of the datasource. OnCreate or form's OnShow is too late. Event handlers will be nil'ed.

    I'll use this until something better comes along.

    0
    Comment actions Permalink
  • Roy Woll

    If I understand you correctly, you can use the OnAfterCreateControlForItem event to attach your events to the edit controls.

    0
    Comment actions Permalink
  • kyle

    You understood correctly. OnAfterCreateControlForItem works perfectly.

    I didn't see it before because I had my object inspector splitter cutting it off, so it looked like the event was TwwRecordViewPanel.AfterCreate.

    Thanks again!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk