Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting a default value in a dialog box
#4
Hello - this is my first forum posting. Thank you for all of the information that I have been able to find here, its great. Now along the lines of this thread, I have a question.

I have created a dialog box using the Dialog Editor. It has several radio buttons, and if one is selected, the others deselect, this is perfect. Now for the crux of the problem, I have a text entry box as well, that I want to tie a radio button to, so that if text is entered, or the cursor is placed in the text edit control, the radio button will automatically switch to that radio button.

Say I have a list of options
Option 1
Option 2
Option 3
Other Enter text
I want "Other" to be the fourth radio button and have a text box right next to it.

Question 2. I want to be able to have some buttons deactivated depending on security. Can I set the contols in such a way that a selection is deactivated or do I need 2 separate dialog boxes?

Thank you for your help and great information.

El Brooks


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)