Visual Basic, .NET, ASP, VBScript
 

   
   
     

Форум - Общий форум

Страница: 1 |

 

  Вопрос: Controls.Add(??????????) ????? Добавлено: 05.03.03 13:41  

Автор вопроса:  N.Y.B.

Нарооод

Кто знает полный синтаксис функции Add класса Controls формы

Я вот знаю только три первых параметра, может их больше??????

Need Help..

Ответить

  Ответы Всего ответов: 1  

Номер ответа: 1
Автор ответа:
 CyRax



Разработчик Offline Client

ICQ: 204447456 

Вопросов: 180
Ответов: 4229
 Web-сайт: basicproduction.nm.ru
 Профиль | | #1
Добавлено: 07.03.03 00:39

Из первоисточника

  • ContainedVBControls collection: Adds a new VBControl object to the ContainedVBControls collection.

  • VBControls collection: Adds a new VBControl object to the VBControls collection.

  • VBProjects collection: adds a new, empty project to the set of projects in the VBProjects collection.

Syntax

object.Add (progid As String, [relativevbcontrol As VBControl] [before As Boolean]) As VBControl

object.Add (projecttype As vbext_ProjectType, [exclusive As Boolean]) As VBProject

The Add method syntax has these parts:

PartDescription
objectAnobject expression that evaluates to an object in the Applies To list.
progidRequired. Astring expression specifying the ProgID of the component to be added.
relativevbcontrolOptional. An existing VBControl object specifying the point where the new component is to be inserted.
beforeOptional. Default = False. ABoolean expression specifying whether the new VBControl is to be placed before or after the relativevbcontrol.
projecttypeRequired. A VBProject object specifying the type of the new project. For a list of kinds of projects, see the Kind property.
exclusiveOptional. Default = False. ABoolean expression specifying whether a new project is added to an existing set of projects, or added as the only project.

Remarks

If the exclusive parameter is specified as True, then the existing group project is closed and the new project becomes the only project in the collection.

Ответить

Страница: 1 |

Поиск по форуму



© Copyright 2002-2011 VBNet.RU | Пишите нам