i want to display a form with some textbox and some optionbuttons. i make the optionbutton.enabled = false since i want it for display only. But the label for the option button also in unabled mode. is it any way i can unabled the optionbutton but the label for the option button is in normal mode.( it will look nicer).
thanks.
Last edited by vivian2u; May 17th, 2005 at 06:06 AM.
What you can do vivian is to create option button WITHOUT caption and shrink its width down to minimal so only "radio button" part is shown and then put regular label next to it.
But the question I'd like to ask is - what's the purpose of having disabled options ?
thanks for the reply. i dont want the user change the option if the option buttons are not in disabled mode.(even though they cant change the original value).
Once you click on the option button, you only allow to select other options but cant leave the option buttons unselected. Is it any other ways that i can leave the option buttons unselected?
Thanks
I'm trying to understand what is it that you want but I can't, sorry.
Perhaps you can show me some picture of what you speak.
Also, Option buttuns can be groupped by moving (cut/paste) them to an individual containers such frames and/or pictureboxes so selecting one option from one group wouldn't affect any option from the other group ...
i want to display a form with some textbox and some optionbuttons. i make the optionbutton.enabled = false since i want it for display only. But the label for the option button also in unabled mode. is it any way i can unabled the optionbutton but the label for the option button is in normal mode.( it will look nicer).
thanks.
Why not put the option buttons in a frame then you can disable the frame abd change the forecolor of the option buttons from black to blue. See the attached images and the project.
Last edited by Mark Gambo; May 15th, 2005 at 11:47 AM.
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."