B4J Question Preset controls in a form

gezueb

Active Member
Licensed User
Longtime User
Hi, I would like to preset controls like radio buttons and labels from previously saved file in a separate modal settings form. I cannot put data to the fields before the settings form is opened and i cannot find an event like "on open form" to do it afterwards. If I start the form with show_and_wait, i cannot update the fields programmatically before the form is not closed again. Once again, help would be appreciated.
Georg
 

gezueb

Active Member
Licensed User
Longtime User
That is what I did the first thing. But a statement like
'radiobutton_something.selected = true'
is accepted but does not change the button as displayed, the button appears as originally saved by the designer when the form is called.Do I miss out something?
 
Upvote 0

gezueb

Active Member
Licensed User
Longtime User
I am sorry, Erel, I had a well hidden error in my test code, all is well, please disregard and thank you for your support,
Georg
 
Upvote 0
Top