PropertyGrid Select Value

J

John Hewitt

I am currently able to change a PropertyGrid to select a particular GridItem
by iterating through the current selected GridItem parent.GridItem's

However, This selects and focuses on the Label of the GridItem - I want to
Select and focus on the value instead (even better would be to highlight
text if it is a text value)

Has anyone got any thoughts on how this can be done?
 
V

VisualHint

J

John Hewitt

worked a treat.



VisualHint said:
Hello John,

did you try sending the TAB key after you select the property ?

SendKeys.Send("{tab}");

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart FieldPackEditor.Net / DateTimePicker replacement (http://
www.visualhint.com/index.php/fieldpackeditor)
Home of Smart PropertyGrid for .Net and MFC (http://www.visualhint.com/
index.php/propertygrid)
Microsoft PropertyGrid Resource List -
http://www.propertygridresourcelist.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top