Q: How to limit values of an activeX property 
Author Message
 Q: How to limit values of an activeX property

As you know, properties of a control can be limited (for example the
mousepointer property of a commandbutton is limited to 0-15 And 99)
and their values have comment like [0 - default] (where default is the

I use vb5 (servicepack 3) and when i create controls it's properties do
not show nice looking comment in the properties window like [0-default],
but instead something like [0]

First question: how to add comment for the property values

Second question: how to limit the values of a self made property to for
example 0-15

Any help would be appriciated.


a reply to both author and newsgroup could help other people..

_____Thijmen Klok__________
_________________Research & Magic Group__________
_______________________________________XS4ALL Internet__________
Ford stood up. `We're safe,' he said.
`Oh good,' said Arthur.
`We're in a small galley cabin,' said Ford, `in one of the spaceships of
the Vogon Constructor Fleet.'
`Ah,' said Arthur, `this is obviously some strange usage of the word safe
that i wasn't previously aware of.'

Sun, 17 Sep 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. ActiveX DLL Qs

2. activex - properties with more than one value

3. New to ActiveX: Saving Property Values

4. Passing Property values to ActiveX control

5. Property access must assign to the property or use its value

6. HFlexgrid .Sort Property - Invalid Property Value

7. Main report value<-pass/return->subReport values (ActiveX Designer Component 6.0)

8. REQ : How to create an activex (VB5) with property like mycontrol.array(x).properties

9. Top Values Record Limit???

10. does DateDiff return value has limit?

11. Limit to Body property of ContactItem

12. Limit on Body property of ContactItem


Powered by phpBB® Forum Software