Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIApplication.Sleep

Put a whole application to sleep.

Declaration

Source position: MUIClass.Base.pas line 252

public property TMUIApplication.Sleep : Boolean
  read GetSleep
  write SetSleep;

Description

All open windows get disabled and a busy pointer appears.

This attribute contains a nesting count, if you tell your application to sleep twice, you will have to tell it to wake up twice too.

If you need to do some time consuming actions, you always should set this attribute to inform the user that you are currently unable to handle input.

A sleeping application's windows cannot be resized.

See also

Window.Sleep

  

Put a window to sleep.

InputBuffered()

  

Buffer Input Messages on time consuming operations


Documentation generated on: 2024-11-21