Programatically executing an event
Programatically executing an event
Is it possible programatically execute an event or request ? For example run a command that would execute event BUTTON.OnClick without the user having to click the button ?
-
Paul
Re: Programatically executing an event
You can use the PerformAction operation to send an action request to the nominated program.
Follow this link for more details;
http://www.longrangemobile.com/docs/lan ... action.htm
Please post more details if this doesn't help.
Follow this link for more details;
http://www.longrangemobile.com/docs/lan ... action.htm
Please post more details if this doesn't help.
Re: Programatically executing an event
Doesn't that require the UPLOAD.ONCLICK event to execute for the action to be performed ? What I want to do is execute the UPLOAD.CLICK event with a user having to tap the UPLOAD button.
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: Programatically executing an event
I think the operation PeformAction will do this for you.
http://www.longrangemobile.com/docs/LRP ... action.htm
If the upload button signals action “UPLOAD” and you set the Action property in a PerformAction operation to “UPLOAD” you should get the same logic executed in the server program. It would not know the difference between a physical button touch or a perform action operation being executed.
http://www.longrangemobile.com/docs/LRP ... action.htm
If the upload button signals action “UPLOAD” and you set the Action property in a PerformAction operation to “UPLOAD” you should get the same logic executed in the server program. It would not know the difference between a physical button touch or a perform action operation being executed.
Re: Programatically executing an event
In RDMLX the Set_Op_ExecuteAction command (shown below) is associated with an event. What event should be used if I want to execute the UPLOAD.ONCLICK event ?
#COM_OWNER.Set_OP_ExecuteAction Event(UPLOAD.ONCLICK) Program(LREX0303) Action(UPLOADDATA) Senddbdata(TRUE) Submitprops_Normal(ALL) Submitprops_Heavy(ALL)
#COM_OWNER.Set_OP_ExecuteAction Event(UPLOAD.ONCLICK) Program(LREX0303) Action(UPLOADDATA) Senddbdata(TRUE) Submitprops_Normal(ALL) Submitprops_Heavy(ALL)
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: Programatically executing an event
I understand that you don't want to have to touch the upload button button to fire the operation.
How and when do you want it to fire?
Also - are you doing an online or local/offline form?
How and when do you want it to fire?
Also - are you doing an online or local/offline form?