LongRange LANSA API Reference
LongRange LANSA API Reference
Could anyone advise where I can get the full set of LongRange LANSA API Reference?
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: LongRange LANSA API Reference
At http://www.lansa.com.au/products/longra ... tation.htm - note also the PDF options if you want to print.
The base APIs - http://www.longrangemobile.com/docs/lan ... apiref.htm
The ones that defined visual elemnnts - http://www.longrangemobile.com/docs/lan ... yandev.htm
The base APIs - http://www.longrangemobile.com/docs/lan ... apiref.htm
The ones that defined visual elemnnts - http://www.longrangemobile.com/docs/lan ... yandev.htm
Re: LongRange LANSA API Reference
Hi Mark,
I have read through those pages already. That's why I'm asking for the full set. The feature help within the VL IDE is quite simple for many methods like Get_EventSender.
I have read through those pages already. That's why I'm asking for the full set. The feature help within the VL IDE is quite simple for many methods like Get_EventSender.
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: LongRange LANSA API Reference
I think these should be the full set - otherwise we should add what is missing?
What do you think is missing?
What do you think is missing?
Re: LongRange LANSA API Reference
I would like to know for the method Get_EventSender, what does the SenderID represent for each index.
-
Paul
Re: LongRange LANSA API Reference
Hi CK,
Thanks for raising this. The documentation will be improved to cover this topic in the near future.
For now, the full Sender ID is the fully qualified name of the element in reverse order
The simplest case would be a button on the formview, e.g.
#COM_OWNER.Set_Button Name('/Form.Fields.Button1') Onclick(BUTTONCLICK)
This would make the full Sender ID 'Button1.Form'
So when the OnClick event fires the following would be true;
#COM_OWNER.Get_EventSender Senderid_N(1) Senderid(#SenderID) /* #SenderID = Button1 */
#COM_OWNER.Get_EventSender Senderid_N(2) Senderid(#SenderID) /* #SenderID = Form */
There is more detailed example in the Programming LongRange with RPG guide.
http://www.longrangemobile.com/docs/LRP ... raises.htm
Thanks for raising this. The documentation will be improved to cover this topic in the near future.
For now, the full Sender ID is the fully qualified name of the element in reverse order
The simplest case would be a button on the formview, e.g.
#COM_OWNER.Set_Button Name('/Form.Fields.Button1') Onclick(BUTTONCLICK)
This would make the full Sender ID 'Button1.Form'
So when the OnClick event fires the following would be true;
#COM_OWNER.Get_EventSender Senderid_N(1) Senderid(#SenderID) /* #SenderID = Button1 */
#COM_OWNER.Get_EventSender Senderid_N(2) Senderid(#SenderID) /* #SenderID = Form */
There is more detailed example in the Programming LongRange with RPG guide.
http://www.longrangemobile.com/docs/LRP ... raises.htm