PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Using the OrgElement type (2nd syntax)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modifies an element in an Organization Chart control.
Example
// Syntaxe 1: Modification uniquement du titre
Boss est un entier
Boss = ORGA_MonOrganigramme.Ajoute("Matthieu Boss", "big boss", "Goldbar.gif")
 
ORGA_MonOrganigramme.Modifie(1, "Tim C.", "CEO")
// Syntaxe 2: Modification de l'élément
ElémentPDG est un OrgaElément
ElémentPDG..Titre = "Big Boss"
ORGA_DIRECTION.Ajoute(ElémentPDG)
 
ElémentPDG..Titre = "Tim C."
ElémentPDG..Image = "Goldbar.gif"
ORGA_DIRECTION.Modifie(1, ElémentPDG)
Syntax

Modifying an element found in an Organization Chart control while specifying its characteristics Hide the details

<Organization Chart control>.Modifies(<Subscript> , <Title> [, <Content> [, <Image>]])
<Organization Chart control>: Control name
Name of Organization Chart control where the element will be modified.
<Subscript>: Integer
Index of the element to be modified. This index was returned by <Organization Chart>.Add.
<Title>: Character string
New element title.
<Content>: Optional character string
New element content.
If this parameter is not specified, the existing content will not be modified.
<Image>: Optional character string
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.

Modifying an element found in an Organization Chart control (by using the OrgElement type) Hide the details

<Organization Chart control>.Modifies(<Subscript> , <Element>)
<Organization Chart control>: Control name
Name of Organization Chart control where the element will be modified.
<Subscript>: Integer
Index of the element to be modified. This index was returned by <Organization Chart>.Add.
<Element>: OrgElement variable
Name of the OrgElement variable describing the full characteristics of the element to modify.
Remarks

Using the OrgElement type (2nd syntax)

The element at index <Index> is replaced with <Element>. In this case, the function <Organization Chart>.Modify is equivalent to the following syntax:
Champ_Organigramme[Indice] = Elément
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment