Hi Everybody,
I am trying to use Radio Buttons in my program settings to allow the user to select a device.
Everything seems to work as far as the correct number being returned but when I return to the settings screen the Radio Button will not show what the current selection is unless the current selection is the first option.
I have checked the stored value and it is fine (in this case it is 3)
In the code below I have 3 items. If anything other that the first item is selected, when you leave and return to the settings screen all 3 radios are empty (none selected) but again the value in my database is 3.
Note: when you are selecting the radio it will fill in the circle. The problem is when you leave and come back.
I am trying to use Radio Buttons in my program settings to allow the user to select a device.
Everything seems to work as far as the correct number being returned but when I return to the settings screen the Radio Button will not show what the current selection is unless the current selection is the first option.
I have checked the stored value and it is fine (in this case it is 3)
In the code below I have 3 items. If anything other that the first item is selected, when you leave and return to the settings screen all 3 radios are empty (none selected) but again the value in my database is 3.
Note: when you are selecting the radio it will fill in the circle. The problem is when you leave and come back.
   @ 0.65,1 say "Device:" SIZE 22,10
   @ 0.5,4 RADIO  oRad  VAR Config->Device SIZE 50,10 ITEMS "Nonin 9560" of oDlgCfg UPDATE COLOR RGB(0,0,0),RGB(230,225,172)    Â
   @ 1.0,4 RADIOITEM "Nonin 4100"    RADIOMENU oRad OF oDlgCfg SIZE 50, 10
    @ 1.5,4 RADIOITEM "Nonin 2500, 8500" RADIOMENU oRad OF oDlgCfg SIZE 70, 10Thanks,
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)