PropertyGrid Select Value

  • Thread starter Thread starter John Hewitt
  • Start date Start date
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?
 
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
 
Back
Top