DxWindowGetCloseState

From Multi Theft Auto: Wiki
Revision as of 04:13, 11 May 2022 by ClawSuit (talk | contribs)
Jump to navigation Jump to search

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

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.dxlib: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