I'm now trying to prevent a listbox from being selected.
I presume I'm looking at the OnActivate method, which by default says "goOnWithActivation".
What's the opposite of "goOnWithActivation"?
Selection of Listbox entry
-
- Posts: 31
- Joined: Tue Dec 01, 2015 6:52 pm
Re: Selection of Listbox entry
Sorry guys, just ignore me.
I've been looking for ages and 30 secs after posting I found the "inactive" property. Sheesh!
I've been looking for ages and 30 secs after posting I found the "inactive" property. Sheesh!
Re: Selection of Listbox entry
Hi shakeshuck,
Yes setting the bool value pointing to by 'goOnWithActivation' to 'false' prevents the activation process from continuing. This is for trickier scenarios. Actually what I can see in where this is currently used is this is being to prevent 'inactivation', rather than 'activation' (i.e. when OnActivate's active parameter is false).
The 'inactive' property is surely the proper way for what you're trying to achieve.
-Jerome
Yes setting the bool value pointing to by 'goOnWithActivation' to 'false' prevents the activation process from continuing. This is for trickier scenarios. Actually what I can see in where this is currently used is this is being to prevent 'inactivation', rather than 'activation' (i.e. when OnActivate's active parameter is false).
The 'inactive' property is surely the proper way for what you're trying to achieve.
-Jerome
-
- Posts: 31
- Joined: Tue Dec 01, 2015 6:52 pm
Re: Selection of Listbox entry
Thanks Jerome,
I really need to stop working on these things two hours after I should've gone to bed...
I really need to stop working on these things two hours after I should've gone to bed...