Grid Selecting Multiple

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dennisw
Profound User
Posts: 37
Joined: Thu Oct 15, 2009 4:34 pm
First Name: Dennis
Last Name: Willett
Company Name: Toledo CLinic
Contact:

Grid Selecting Multiple

Post by dennisw »

Maybe this has been addressed here, but I searched and couldn't find it.

Can you select non consectuve rows in a subfile grid using Ctl and Mouse Click and then click and send the list of select rows back to the RPGLE program?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Grid Selecting Multiple

Post by David »

Yes, you can select non-consecutive grid rows.

To do that, you'd set the grid's 'row selection' property to either 'multiple(simple)' or 'multiple(extended)'. Using 'extended' requires using the CTRL or SHIFT keys to select multiple records, 'simple' does not.

In either case, then, you'd bind the 'selection field' property to an indicator. You can then READC to find all the selected records, the indicator bound to 'selection field' will be turned on for any selected rows. Also, you can display the subfile with rows pre-selected by turning on the 'selection field' indicator as you are writing the subfile records.
dennisw
Profound User
Posts: 37
Joined: Thu Oct 15, 2009 4:34 pm
First Name: Dennis
Last Name: Willett
Company Name: Toledo CLinic
Contact:

Re: Grid Selecting Multiple

Post by dennisw »

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests