Hi
I'm sure I've seen the answer to this in the forums, but no matter on what I search I can't find it.
Anyway I have a modified dialog that browses for sql servers. there's a combo box that lists those found (works well) a check box to check if a trusted connection is to be used and text boxes to enter username and password if a trusted connection is not to be used.
I need the checkbox checked and the two text boxes disabled on dialog entry (making the basic assumption that a trusted connection is to be used) and the two disabled text boxes to become enabled if the user unchecks the check box (thus allowing them to enter a username and password).
What's the best way to achieve this and does there happen to be an example somewhere. As I say I thought I'd seen this somewhere but I really can't find it at present.
Dom
FOLLOW US
Get the latest news in Application Packaging