Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group Woes.........
Message
 
To
28/09/2006 17:39:05
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01157908
Message ID:
01158094
Views:
38
>>Hello from the invisible Karen and Me!
>>
>>Question for today!
>>
>>I have some old code that I noticed something peculiar.
>>
>>There is an Option Group on the page called optGroup (nifty, huh??!).
>>
>>It has 8 option buttons number 1 - 8.
>>
>>When I click on an option button, I thought I would get the optGroup.Value the same as the position in the group........
>>
>>1 -> optGroup.Value = 1
>>2 -> optGroup.Value = 2
>>3 -> optGroup.Value = 3
>>4 -> optGroup.Value = 4
>>5 -> optGroup.Value = 5
>>6 -> optGroup.Value = 6
>>7 -> optGroup.Value = 7
>>8 -> optGroup.Value = 8
>>
>>That is not what I get.
>>
>>This is what I get.
>>
>>1 -> optGroup.Value = 1
>>2 -> optGroup.Value = 2
>>3 -> optGroup.Value = 5
>>4 -> optGroup.Value = 3
>>5 -> optGroup.Value = 4
>>6 -> optGroup.Value = 6
>>7 -> optGroup.Value = 7
>>8 -> optGroup.Value = 8
>>
>>For some reason, 5 is coming in the 3 position in the Value property and shifting down 3 and 4.
>>
>>What gives???
>>
>>What OBVIOUS thing am I overlooking???
>>
>>Thanks!
>
>in designer:
>
>select option 5 : Send to back
>select option 4 : Send to back
>select option 3 : Send to back
>select option 2 : Send to back
>select option 1 : Send to back
>save
>try
>
I'll try that out today.

Thanks

Tommy
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform