Print Page | Close Window

Set selected item?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=7313
Printed Date: 05 July 2024 at 12:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Set selected item?
Posted By: Albert1
Subject: Set selected item?
Date 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



Replies:
Posted By: Albert1
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net