![]() ![]() The index value for the first Page or Tab of a collection is 0, the value for the second Page or Tab is 1, and so on.įor the Controls collection of an object, the Add method returns a control corresponding to the specified ProgID. ProgID values for individual controls are: Controlįor a MultiPage control, the Add method returns a Page object. A ProgID is mapped to a class identifier (CLSID). A text string with no spaces that identifies an object class. If an index is not specified, the system appends the page or tab to the end of the Pages or Tabs collection and assigns the appropriate index value. Identifies the position of a page or tab within a Pages or Tabs collection. If a caption is not specified, the system generates a default caption based on the rules of the application where the form is used. Specifies the caption to appear on a tab or a control. ![]() If a name is not specified, the system generates a default name based on the rules of the application where the form is used. Specifies the name of the object being added. ![]() The Add method syntax has these parts: Part Add( ]] )įor other controls: Set Control = object. Syntaxįor MultiPage, TabStrip: Set Object = object. Adds or inserts a Tab or Page in a TabStrip or MultiPage, or adds a control by its programmatic identifier ( ProgID) to a page or form. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |