Library tutorials & articles
Creating Classes & ActiveX Controls
By James Crowley, published on 14 Jul 2001
Page 10 of 14
- Introduction
- Using classes and controls
- Creating a class
- Creating a control
- Variables and Properties
- Mapping your controls' properties onto other contr
- Specifying when properties can be set and read
- Specifying default values for properties
- Saving and reading properties
- Hiding Properties at Design Time
- Methods
- Constants and Enums
- Adding Descriptions
- Conclusion
Hiding Properties at Design Time
In some cases, such as the TextRTF property of the RichTextBox control, you do not want the property to be displayed at design time. To do this, select Procedure Attributes on the Tools menu. Select the property from the Name drop down, click Advanced, and check the Don't show in Property Browser check box. Now, the property will not be displayed at design time.
Related articles
Related discussion
-
Run-time error '91'
by crazyidane (0 replies)
-
Problem handling Redirects with MSXML2.XMLHTTP
by brandoncampbell (2 replies)
-
vbinputbox pauses code while it waits on response. How can I reproduce that?
by brandoncampbell (1 replies)
-
Sending SMS in VB 6
by sirobnole (6 replies)
-
Comboxbox listindex in ActiveX Control
by brandoncampbell (1 replies)
Is it possible for a dll to use an ocx and its methods? How do I declare it?
thanks!!! a great help for developers.
--all glory to my great provider...--
Of all the books and tutorials I've read on classes & activeX,this should be the best.Thanx to the author.
I am fairly new at coding in VB and love diving in. I am working on a project on reading binary files, parsing bit data information and creating a display from some function of bits. The first couple of words will tell me how to set up a window and other parameters. Since my first run at creating this program, I have since discovered the use of classes as separate modules. I'm trying to create a couple of classes, one for setting of the parameters and the other for program settings. Using the Property of Let & Get has worked great and makes the management of what I am doing easier. But I have a couple of questions regarding of how to try to pass arrays like I would the other values.
For example, recalling a list of last opened file names and making them available to other modules, I had wanted to try to put it in a class like the other properties, but when I don't know if and how many how do I do that?
This thread is for discussions of Creating Classes & ActiveX Controls.