AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Organigrama
  • Using the OrgElement type (2nd syntax)
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Modifies an element in an Organization Chart control.
Ejemplo
// 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
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local