Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Set selected item?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Set selected item?

 Post Reply Post Reply
Author
Message
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Topic: Set selected item?
    Posted: 06 June 2007 at 3:32am
Is there a way to programmatically set a selected item inside a Grid?
There is a selected method but it's readonly.
For Example PropertyGrid1.Selected(Item_ID)=True

hx
Alberto
Back to Top
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2007 at 4:41am
Found:

PropertyGrid.Categories(1).Childs(1).Selected = True

Its not simple to get the Index of the collections ... This statement select the caption and not the value.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.