Jump to content
Sign in to follow this  
bernhard_LA

selected cell in a stringgrid FMX vs. VCL

Recommended Posts

 

in VCL  I  can get  the selected cell with the Selection property.

In FMX this property does not exist.  how to change this code for FMX? 

 

 

  aStatusBar.SimpleText := 'selected cell -> ' +
    strngrd_Point3D.Selection.Top.ToString + '/' +
    strngrd_Point3D.Selection.Left.ToString;

 

Share this post


Link to post

You should learn to use the help.

 

aStatusBar.SimpleText := 'selected cell -> ' +
    strngrd_Point3D.Row.ToString + '/' +
    strngrd_Point3D.Col.ToString;

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×