borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (IP-Box ?)Next Topic (ActiveX) New Topic New Poll Post Reply
AndreaVB Forum : ActiveX : Hide/Display Properties
Poster Message
MikeG
Level: Sage

Registered: 21-02-2003
Posts: 54

icon Hide/Display Properties

I've created an ActiveX control.  When using this control, I want to either hide or display a Property in the properties window based on the value of another property.  

Example:  If I set Property "A" to TRUE, then an additional 5 properties (B-F) would then appear in the properties window.  If I set Property "A" to FALSE, then those 5 properties (B-F) would disappear from the properties window.

Any way to do this?
Mike

19-07-2004 at 07:48 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Hide/Display Properties

I doubt it can be done, cause properties are created in design, not run-time. You could, for instance, not allow the user to change properties that you want to be hidden, like not allowting the user to add some value to it.

____________________________
If you find the answer helpful, please mark this topic as solved.

19-07-2004 at 11:05 PM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Hide/Display Properties

It isn't possible... those items are in "Public Property" statements, so it'd involve a code change to remove them.

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

20-07-2004 at 03:29 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
MikeG
Level: Sage

Registered: 21-02-2003
Posts: 54
icon Re: Hide/Display Properties

I didn't think it was possible, but I thought I'd ask anyway.  You just never know what someone may come up with.

Thanks Again!
Mike

Happy Coding!

20-07-2004 at 02:23 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ActiveX : Hide/Display Properties
Previous Topic (IP-Box ?)Next Topic (ActiveX) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder