Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Option Group Woes.........
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Option Group Woes.........
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01157908
Message ID:
01157908
Vues:
112
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!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform