Help with box_lib
Posted: Mon May 25, 2020 10:22 am
Hello everyone,
I have started the study of the box_lib library. I have understood how to work with the text box and the checkbox, but I have a question with the optionbox component. In an optionbox group how can I determine which option is selected? That is, in the optionbox structure there is a dd flags field, which I do not know if I have to initialize, and which always has a value of 0. However visually the optionbox are painted correctly, I just need to know how I check if optionbox1 is active / checked or not. Greetings and thanks in advance.
[!] this was a bot that edited the message and inserted a spam link, dunkaist
I have started the study of the box_lib library. I have understood how to work with the text box and the checkbox, but I have a question with the optionbox component. In an optionbox group how can I determine which option is selected? That is, in the optionbox structure there is a dd flags field, which I do not know if I have to initialize, and which always has a value of 0. However visually the optionbox are painted correctly, I just need to know how I check if optionbox1 is active / checked or not. Greetings and thanks in advance.
[!] this was a bot that edited the message and inserted a spam link, dunkaist