|
|
|
|
|
<Tab>.Status (Function) In french: <Onglet>.Etat Returns the status of a dynamic tab pane (identified by its alias).
nIndice is int = TABLE_Client.Select()
IF nIndice = -1 THEN
ToastDisplay("Vous devez sélectionner un client dans le champ Table")
RETURN
END
nNumClient is int = TABLE_Client.IDCLIENT
sAlias is string = gtaOnglet[nNumClient]
gtaOnglet is associative array of strings
IF sAlias = "" _OR_ ONG_MonOnglet.Etat(sAlias) = paneNotFound THEN
gtaOnglet[nNumClient] = ...
ONG_MonOnglet.Ouvre(StringBuild("Fiche client de : %1", ...
TABLE_Client.Nom[nIndice]), FI_Fiche, nNumClient)
ELSE
ToastDisplay("Fiche déjà ouverte")
ONG_MonOnglet = sAlias
END
Syntax
<Result> = <Tab control>.Status(<Alias>)
<Result>: Integer constant Status of dynamic tab pane: | | paneActive | The tab pane exists and is attached to its tab. | paneFloating | The tab pane exists and is detached. | paneNotFound | The tab pane does not exist or has been closed. |
<Tab control>: Control name Name of the Tab control to be used. <Alias>: Character string Alias of the dynamic tab pane to use. This alias can be retrieved by: If this parameter does not correspond to any dynamic tab, the function has not action and a non-fatal error occurs.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|