IUP/Dialogs/IupHide: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Created page with "__NOTOC__ =IupHide= :Hides an interface element. This function has the same effect as attributing value "NO" to the interface element’s VISIBLE attribute. ===Parameters/Re..."
 
No edit summary
 
Line 12: Line 12:
:This function returns IUP_NOERROR if the element was removed from the screen.
:This function returns IUP_NOERROR if the element was removed from the screen.


Note
===Note===


:Once a dialog is hidden, either by means of IupHide or by changing the VISIBLE attribute or by means of a callback returning IUP_CLOSE, the elements in this dialog are not destroyed, so that you can show them again. To destroy dialogs, the IupDestroy function must be called.
:Once a dialog is hidden, either by means of IupHide or by changing the VISIBLE attribute or by means of a callback returning IUP_CLOSE, the elements in this dialog are not destroyed, so that you can show them again. To destroy dialogs, the IupDestroy function must be called.


See Also
===See Also===


:[[IUP/Dialogs/IupShowXY|IupShowXY]], [[IUP/Dialogs/IupShow|IupShow]], [[IUP/Dialogs/IupPopup|IupPopup]], [[IUP/Dialogs/IupDestroy|IupDestroy]].
:[[IUP/Dialogs/IupShowXY|IupShowXY]], [[IUP/Dialogs/IupShow|IupShow]], [[IUP/Dialogs/IupPopup|IupPopup]], [[IUP/Dialogs/IupDestroy|IupDestroy]].

Latest revision as of 04:50, 9 May 2023

IupHide

Hides an interface element. This function has the same effect as attributing value "NO" to the interface element’s VISIBLE attribute.

Parameters/Return

iup.Hide(element: ihandle) -> (ret: number)
element: Identifier of the interface element.
This function returns IUP_NOERROR if the element was removed from the screen.

Note

Once a dialog is hidden, either by means of IupHide or by changing the VISIBLE attribute or by means of a callback returning IUP_CLOSE, the elements in this dialog are not destroyed, so that you can show them again. To destroy dialogs, the IupDestroy function must be called.

See Also

IupShowXY, IupShow, IupPopup, IupDestroy.