Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Aligning optiongroup buttons
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01266131
Message ID:
01266139
Views:
8
>No, you'll have to write code to rearange them. BTW, you can simplify your existing code
>
>thisform.opg1.o2.Visible = lv_institiution_select.i_food
>...
>
>
>>I have an optiongroup button with 4 options. I am hiding different options using:
>>
>>		IF lv_institiution_select.i_food = .T.
>>			thisform.opg1.o2.Visible = .t.
>>		ELSE
>>			thisform.opg1.o2.Visible = .f.
>>		ENDIF
>>		
>>		IF lv_institiution_select.i_household = .T.
>>			thisform.opg1.o3.Visible = .t.
>>		ELSE
>>			thisform.opg1.o3.Visible = .f.			
>>		ENDIF
>>		
>>		IF lv_institiution_select.i_clothing = .T.
>>			thisform.opg1.o4.Visible = .T.	
>>		ELSE
>>			thisform.opg1.o4.Visible = .f.
>>		ENDIF	
>>
>>
>>
>>Is there a way to automatically left justify the option buttons if the option button in front is invisble?
>>
>>thanks
>>Nick

thanks again Sergey.

Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform