Programatically select one cell from grid which SelectionStyle(Extended)

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
MegumiSawada
Posts: 80
Joined: Tue Mar 22, 2016 1:45 pm
Location: Tokyo, Japan

Programatically select one cell from grid which SelectionStyle(Extended)

Post by MegumiSawada »

Hi,

I'd like to select only one cell from the grid whose SelectionStyle property is set to "Extended".
How can I acheive it programatically?

The followings doesn't work as expected.
* Unselect all the selection
#Grid.Items<>.Selected
#Grid.Columns<>.Selected := Flase
* Try to select one cell
#Grid.Items<5>.Selected
#Grid.Columns<3>.Selected := True

I appreciate your kind advice.

Best Regards,
Megumi Sawada
Post Reply