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'
RDMLX OnReturnKey for Text Box cannot set action
-
jimoreilly
- Posts: 22
- Joined: Sat Apr 20, 2013 6:17 am
-
Paul
Re: RDMLX OnReturnKey for Text Box cannot set action
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...
or
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')
Code: Select all
#ComOwner.Set Property('/Form.Fields.MyTextbox.OnReturnKey') To('MyReturnKeyAction')
-
Paul
Re: RDMLX OnReturnKey for Text Box cannot set action
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
http://www.longrangemobile.com/docs/lan ... inglon.htm
Thanks