(RPG) - New API in latest version
Posted: Tue Dec 04, 2012 5:44 pm
The latest LongRange-RPG version has a new API that allows up to 30 properties to be set in one operation, like this:
Latest LongRange-RPG is here - http://longrange.lansa.com.au/viewtopic.php?f=13&t=135
New API documentation is here - http://www.longrangemobile.com/docs/LRP ... erties.htm
Code: Select all
LRNG_Using('Fields.SAVE');
LRNG_SetProperties( 'Type : Button'
: 'Text : Touch to attach a note to ' + %trimr(AssocNotesKey)
: 'Layout.Row : 3'
: 'Layout.Col : 1'
: 'Layout.Cols:-1'
: 'Color:black'
: 'ButtonFaceColor:White'
: 'OnClick:EXAM0068B_SAVE_NOTE'
: 'OnClick.Param%1:' + %trim(AssocContainer)
: 'OnClick.Param%2:' + %trim(AssocNotesKey)
);New API documentation is here - http://www.longrangemobile.com/docs/LRP ... erties.htm