Hello All,
I have added one control Radio Button in form with data type Enum. This enum contains two Elements: Working days (enum value 1) and Calender Days ( enum value 2). On the radio button Click (enum 1) i want to hide group control and for enum value 2, I want to show group. for that i have override selectionchange( ) method and written following code.
public int selectionChange()
{
int ret;
if(radiobutton.selection(1))
{
DaysGroup.visible(false);
radiobutton.selection(2);
}
else if (radiobutton.selection(2))
{
DaysGroup.visible(true);
radiobutton.selection(1);
}
ret = super();
return ret;
}
Now, I am debugging and whenever i am changing radio button values from 1 to 2, the cursor is always going on only if(radiobutton.selection(1)) loop.
The same code i have written in Modified (override method) method of Radio button but still it is same.
*This post is locked for comments