|
|
|
|
Devuelve el estado de un panel de pestañas dinámico (identificado por su alias).. // Retrieves the selected row from a Table control nIndex is int = TableSelect(TABLE_Customer) IF nIndex = -1 THEN ToastDisplay("Select a customer in the Table control") RETURN END // Gets the customer identifier nCustomerNum is int = TABLE_Customer.CUSTOMERID // Defines the tab alias gaaTab is associative array of strings sAlias is string = gaaTab[nCustomerNum] // Checks whether the customer form is not already opened IF sAlias = "" _OR_ TabStatus(TAB_MyTab, sAlias) = paneNotFound THEN // Opens the window in modification gaaTab[nCustomerNum] = ... TabOpen(TAB_MyTab, StringBuild("Customer form of: %1", ... TABLE_Customer.Name[nIndex]), IW_Form, nCustomerNum) ELSE ToastDisplay("Form already opened") // Activates the tab TAB_MyTab = sAlias END Sintaxis
<Result> = TabStatus(<Tab control> , <Alias>)
<Result>: Constante de tipo Integer Estado de la pestaña dinámica: | | paneActive | El panel de pestañas existe y se adjunta a su pestaña. | paneFloating | El panel de pestañas existe y está separado. | paneNotFound | El panel de pestañas no existe o se ha cerrado. |
<Tab control>: Nombre del control Nombre del control Pestaña a utilizar. <Alias>: Cadena de caracteres Alias del panel de pestañas dinámico que se va a utilizar. Este alias puede ser recuperado por: Si este parámetro no corresponde a ninguna ficha dinámica, la función no tiene acción y se produce un error no fatal.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|