Marcelo Via Giglio wrote:Hello,
Ex:
Normal radio:
○●○○○ = 2
Wanted radio:
●●○○○ =2
this isn't clear for me, but this is not the problem, maybe yo can simulate a option poll with xBrowse, I think, you only use 1 control in this case, and would be more flexible, one row for one question and the columns for the options
Regards
Marcelo
Redefine Radio oRdImp;
Var nTipImp;
ID 101,102,103; // 101 - By date
Update; // 102 - By client
of oDlgImp // 103 - General
Whe you use the radio the "Var" is numeric, if you choose the second option the number will be 2, the third will be 3, etc...
I don't need to change this, just the cosmetic, if I choose the second option the first and the second will be filled not only the second...
If I can control the state of one individual option of the radio I can do it manually.
Ex.:
//-- Fill the 1st and 2nd option
oRdImp:aOptions[1] := .T.
oRdImp:aOptions[2] := .T.
oRdImp:aOptions[3] := .F.
oRdImp:aOptions[4] := .F.
oRdImp:aOptions[5] := .F.
//-- Fill the 1st to 3rd option
oRdImp:aOptions[1] := .T.
oRdImp:aOptions[2] := .T.
oRdImp:aOptions[3] := .T.
oRdImp:aOptions[4] := .F.
oRdImp:aOptions[5] := .F.
If I don't have how to change this I'll create a class to simulate it with checkbox, but for simulate it, how I can change the checkbox (usally a square) to a circle ?