Cursor Position

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
sgerhardinger
New User
Posts: 6
Joined: Mon Feb 25, 2013 3:31 pm
First Name: Sue
Last Name: Gerhardinger
Company Name: Toledo Clinic, inc.
Contact:

Cursor Position

Post by sgerhardinger »

I am trying to get my cursor position in a grid using the return cursor column property and the cursor record number. These values are returned to my program when added pui.click() on the onclick event of an output field. I added the pui.click() on the onmousedown event and the values were not returned. My ultimate goal is to be able to obtain the row/column of the mouse down and the row/column of the mouse up to determine a block in the grid that has been selected. Am I headed in the right direction??
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Cursor Position

Post by Scott Klement »

If you just want to allow rows to be selected, consider using the "row selection" property of the grid. You can use this to allow the user to select one row or multiple rows (depending on the setting). You can then bind a field to the "selection field" property.

When reading the subfile (for example, with READC) the selection field will tell you if a given row has been selected or not.

Is that what you're trying to do? Or do you need to know which columns were selected?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest