Using a pop over to action a row in a table (RPG)

Please mark posts as being for RPG or RDMLX (LANSA) developers.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Using a pop over to action a row in a table (RPG)

Post by MarkDuignan »

picture.png
picture.png (134.01 KiB) Viewed 3739 times
This is an example of using a pop over to action a row in a displayed table.

Using a pop over is initially more complex than using a simple context menu – and it has an additional server interaction – but you can do whatever you want because the pop over is effectively a miniature form.

In this case the pop over is set up to contain a new table containing two rows - each with an image and text.
The text also identifies the name of the person you have touched.

If you were going to do this repeatedly it would be best to put the pop over table building code into a generically callable RPG function that could be reused from many different form view handlers.

Attached in the zip file are the EXAM0067 (RPG) and EXAM0067D (Display File) that will reproduce the example.
Attachments
EXAM0067_Source.Zip
RPG and DDS source code
(4.02 KiB) Downloaded 390 times
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Re: Using a pop over to action a row in a table (RPG)

Post by MarkDuignan »

This example is now shipped with LongRange.
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111
Post Reply