I'm trying to do some input validation for PropertyGrid items. Thing is, I can't find a method to reselect the property item for editing if it's invalid. How can I do this?
I'm trying to do some input validation for PropertyGrid items. Thing is, I can't find a method to reselect the property item for editing if it's invalid. How can I do this?
Rooted OnePlus 2 64GB Ed, Android 5.1.1 OxygenOS ; on teifin' AT&T's network; Rooted ASUS Transformer TF101 w/ dock, Android 5.1 KatKiss; Laptop: ASUS X550C, 2.0GHzx2, 8GB, 512GB SSD, Kubuntu 15.10;
Facebook page: Skeleville Technology Solutions
Problem solved. Turns out I could validate input and throw Exceptions within the class's property set, then the Grid would catch this exception (and show it's message) when the input is invalid and restore the former value.
Are there any other ways?
Rooted OnePlus 2 64GB Ed, Android 5.1.1 OxygenOS ; on teifin' AT&T's network; Rooted ASUS Transformer TF101 w/ dock, Android 5.1 KatKiss; Laptop: ASUS X550C, 2.0GHzx2, 8GB, 512GB SSD, Kubuntu 15.10;
Facebook page: Skeleville Technology Solutions