DxWindowSetCloseState

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 oculta o visualiza el boton de cerrado de una dxWindow.

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

Sintaxis

bool dxWindowSetCloseState(element element, bool state)

Argumentos requeridos

  • element: El elemento dxWindow.
  • state: Un booleano (true o false).

Ejemplo de Uso

loadstring( exports.dxLibrary:dxGetLibrary( ) )( )
--creamos una ventana
win = dxWindow(251, 21, 250, 300, 'Window DEMO', true, true)

--Le removemos el boton de cerrado mediante la funcion.
dxWindowSetCloseState( win, false )

Ver también

General Functions

Window

Button

CheckBox

Edit

GridList

Image

Label

List

ProgressBar

ScrollBar