Hi Christoph,

Christoph Jopp wrote:

the only thing to check the visibility of a control I could figure out was the AccessibleStateType which holds values for certain states.
Thanks, that did it.
How did you find out? Just digging in a various places or rather experience?

I use the trick when generating documents from a dialog:
For different document types, different txtFields are vissible.
Contents of txtFields has to be put in userfields in the document.
I use the same names for userfields and txtFields, so use a loop to fill all userfields ;-) Works great, but if for one reason or another, a txtField is hidden but not empty, the userfield may not be filled. So I needed a check on visibility of the txtField. Thanks for that.

I'll find me some time later (...) to make some code-snippits for the snippet-base.

Regards,
Cor


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to