DxWindowGetCloseState: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
loadstring(exports. | loadstring( exports.dxLibrary:dxGetLibrary( ) )( ) | ||
win = dxWindow(251, 21, 250, 300, 'Window DEMO', true, true) | win = dxWindow(251, 21, 250, 300, 'Window DEMO', true, true) |
Latest revision as of 20:23, 21 May 2022
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
- dxGetLibrary
- dxGetScreen
- dxSet
- dxGet
- dxSetText
- dxSetTitle
- dxSetVisible
- dxSetEnabled
- dxSetPosition
- dxGetPosition
- dxSetSize
- dxGetSize
- dxGetRootParent
- dxSetColorBackground
- dxSetColorText
- dxSetColorSelected
- dxSetColorBorder
- dxFont
- dxSetFont
- dxGetText
- dxSetTitle
- dxGetTitle
Window
Button
CheckBox
Edit
GridList
- dxGridList
- dxGridListAddItem
- dxGridListRemoveItem
- dxGridListAddColumn
- dxGridListRemoveColumn
- dxGridListGetItemSelected
- dxGridListSetItemSelected
- dxGridListGetScrollHV
Image
Label
List
- dxList
- dxListAddItem
- dxListRemoveItem
- dxListGetItemSelected
- dxListSetItemSelected
- dxListSetColorFilaItem