DxWindowGetCloseState

From Multi Theft Auto: Wiki
Revision as of 20:23, 21 May 2022 by ClawSuit (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Esta funcion obtiene el estado del boton de cerrado de una dxWindow.

Aviso: Esta es una función exportada por Modern-Library!

Sintaxis

bool dxWindowGetCloseState(element element)

Argumentos requeridos

  • element: La ventana la cual se obtendra el estado del boton de cerrado.

Ejemplo de Uso

loadstring( exports.dxLibrary:dxGetLibrary( ) )( )

win = dxWindow(251, 21, 250, 300, 'Window DEMO', true, true)

bindKey('k', 'down', 
  function()
     outputChatBox('El boton de cerrado esta '..(dxWindowGetCloseState( win ) and 'visible' or 'oculto'))
  end
)

Ver también

General Functions

Window

Button

CheckBox

Edit

GridList

Image

Label

List

ProgressBar

ScrollBar