Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option group has mind of its own
Message
From
22/09/2005 17:53:32
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052117
Message ID:
01052208
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I put an option group on my form. I copied it from another form, then I renamed each option button (3 in total), gave each a caption and set each button's left position. I reset to default height of each option button and top position (0). Now every time I open my form the buttons re-arrange themselves. I fixed them 3 or four times already, but they don't stay where I put them.
>
>What is it? Is fox playing dirty tricks on me or it's a bug?
>
>Thanks.
>
>UPDATE. I invoked builder and make sure it set to be horisontal. Now this behavior seems to stop. However, I didn't find any relevant property.

It is not a bug.

As the optiongroup loads the buttons through OptionCount,
and not through various ADD OBJECT,
in the moment in which the optiongroup
it is created, the members don't exist and therefore if Left/Top
they are not defined, VFP applies the vertical standard algorithm.

Builder puts the values in the properties ( look the bold )
and therefore VFP uses these.
Previous
Reply
Map
View

Click here to load this message in the networking platform