how to set up an OptionGroup with more options. I dont’ find the ButtonCount property or Value property.
Can I perform this by code too?


Name:  2017-01-18 13_37_25-Lianja App Builder v3.2.0 [z_bert] - UTF-8 - Licensed to Soft up Soluzioni i.png Views: 37 Size:  12.0 KB



The Optiongroup has an attribute Allow multiple selections. If this is checked (default), the list acts as a group of checkboxes and the Value is a character string with a comma-separated list of the numbers of the checked boxes. If Allow multiple selections is unchecked, the group works as a set of radio buttons and the Valueis a numeric with the number of the single selected button.

You need to get the caption for the selected button:
m.caption = optgrp.buttons(optgrp.value).caption