Page 1 of 1

RDMLX OnReturnKey for Text Box cannot set action

Posted: Thu Aug 08, 2013 3:19 am
by jimoreilly
The onreturnkey event for a text box works but always returns ONRETURNKEY as the action.

Using LNRGSERVICES I can set it directly, but it looks like in LNRG_FORM the action is hard coded to the literal 'OnReturnKey'

Re: RDMLX OnReturnKey for Text Box cannot set action

Posted: Thu Aug 08, 2013 10:08 am
by Paul
Thanks for reporting this. It looks like it was introduced in the RV 14 version. It will be fixed in the next release.

For now you will need to set the OnReturnKey property for text boxes directly with the Set method...

Code: Select all

#LRngServices.Set Property('/Form.Fields.MyTextbox.OnReturnKey') To('MyReturnKeyAction')
or

Code: Select all

#ComOwner.Set Property('/Form.Fields.MyTextbox.OnReturnKey') To('MyReturnKeyAction')

Re: RDMLX OnReturnKey for Text Box cannot set action

Posted: Thu Aug 08, 2013 10:43 am
by Paul
As a general note to the forum, you can learn more about setting properties directly in the LongRange LANSA Programming guide..

http://www.longrangemobile.com/docs/lan ... inglon.htm

Thanks