[RDMLX]Set_sendmessage requires Event property
Posted: Thu May 11, 2017 12:53 pm
Hi,
When you would like to show message box on the form, you will write like this:
In RPG, there's no "event". You just need to write "RunOperation" where you would like to run the operation.
Why we need to specify Event property in RDMLX, not only writing Set_Sendmessage method where you would like to run the operation like RPG?
Best Regards,
Megumi Sawada
When you would like to show message box on the form, you will write like this:
Code: Select all
#Com_Owner.Set_Sendmessage Event('/Form.Onload')Code: Select all
LRNG_USING('/RUNOPERATION');
LRNG_SETPROPERTIES(
'TYPE : SHOWMESSAGE'
:'TITLE : Confirm '
:'MESSAGE : Do you want to upload data?'
:'CANCELBUTTONIDX : 2'
:'BUTTON%2.TEXT : No'
:'BUTTON%1.TEXT : Yes'
);
LRNG_ENDUSING(); Why we need to specify Event property in RDMLX, not only writing Set_Sendmessage method where you would like to run the operation like RPG?
Best Regards,
Megumi Sawada