Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group Woes.........
Message
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:
01157915
Views:
47
This message has been marked as a message which has helped to the initial question of the thread.
>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!

You were rearange OptionGroup buttons
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform