B4J Question Property sheet custom [field value] 'change' event?

m4.s

Member
Licensed User
Longtime User
Is there no other way, besides utilizing a timer and comparing initially defined vs. current property sheet field values, to ascertain if/when a field value has been changed by a user in order to save the values to a file (for later reloading)? The timer technique is not only inefficient, but it does not work well for string types (e.g. if user is entering text in a property sheet field, the timer-triggered 'save' misses the text entered subsequent to the save function code being executed.

Given property sheets do not yet support any exposed events, could we use the jReflection library's Reflection object's .AddEventHandler2 method to create a custom event hook for a property sheet 'change' event? If so, how exactly?

It would also be very beneficial to be able to [programmatically] set the focus to any property sheet field...
 
Top