Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditionally hiding a activex property from property window

Status
Not open for further replies.

shaileng

Programmer
May 15, 2003
10
US
How to hide a property in property window depending on users selection. Eg. My activex is having 3 properties prop1, prop2 and proponlywhen2 lets say

Now if prop1 is set to true then proponlywhen2 should not be visible in property window.

I have seen that conditionally few activex controls hides some members but how. Using the procedure attribute will hide it for ever.

HELP
 
If you mean in the property tool box I've never seen this done. I've seen it done on custom property pages but this doesn't seem to be what you are asking. Property box is filled with all public properties of class. You can not change this interface on the fly.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top