|
|
|
|
|
- Using the OrgElement type (2nd syntax)
<Organization Chart>Modificar (función) Modifies an element in an Organization Chart control. // Syntax 1: Modifying the title only Boss is int Boss = ORG_MyOrganizationChart.Add("Vince Boss", "big boss", "Goldbar.gif") ORG_MyOrganizationChart.Modify(1, "Tim C.", "CEO")
// Syntax 2: Modifying the element ElementCEO is OrgElement ElementCEO.Title = "Big Boss" ORG_EXECUTIVE.Add(ElementCEO) ElementCEO.Title = "Tim C." ElementCEO..Image = "Goldbar.gif" ORG_EXECUTIVE.Modify(1, ElementCEO)
Sintaxis
Modificar un elemento de un control Organigrama especificando sus características Ocultar los detalles
<Organization Chart control>.Modifies(<Subscript> , <Title> [, <Content> [, <Image>]])
<Organization Chart control>: Nombre del control Name of Organization Chart control where the element will be modified. <Subscript>: Integro Index of the element to be modified. This index was returned by <Organization Chart>.add. <Title>: Cadena de caracteres New element title. <Content>: Cadena de caracteres opcional New element content. If this parameter is not specified, the existing content will not be modified. <Image>: Cadena de caracteres opcional New image associated with the element. This image is displayed on the left of element title. This parameter corresponds to the name and to the full (or relative) path of image. A UNC path can be used. If this parameter is not specified, the existing image will not be modified.
Modificación de un elemento que se encuentra en un control Organigrama (utilizando el tipo OrgElement) Ocultar los detalles
<Organization Chart control>.Modifies(<Subscript> , <Element>)
<Organization Chart control>: Nombre del control Name of Organization Chart control where the element will be modified. <Subscript>: Integro Index of the element to be modified. This index was returned by <Organization Chart>.add. <Element>: OrgElemento variable Name of the OrgElement variable describing the full characteristics of the element to modify. Observaciones Using the OrgElement type (2nd syntax) The element at index <Index> is replaced with <Element>. In this case, <Organization Chart>Modificar is equivalent to the following syntax: OrganizationChart_Control[Index] = Element
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|