Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSFlexgrid

Status
Not open for further replies.

JustinDavid

Technical User
Dec 23, 2002
4
0
0
GB
Hi

Can anyone tell me the correct syntax for grabbing the data in the cell that user clicks. ???

Justin
 
Code:
msflexgrid1.text
gets the value or data in the currently selected cell. Thanks and Good Luck!

zemp
 
LETS SAY YOU WANT TO WRITE TO THE 5 CELL OF THE SECOND ROW


msflexgrid1.ROW = 2
msflexgrid1.CELL = 5
msflexgrid1.text = "SOMETING"
 
To expand on what koukouroukou said, you can also use.

msflexgrid1.textmatrix(2,5)="Something"

Or reverse it,

<strVariable>=msflexgrid1.textmatrix(2,5) Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top