forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesktopChanged.xml
More file actions
65 lines (49 loc) · 1.89 KB
/
Copy pathdesktopChanged.xml
File metadata and controls
65 lines (49 loc) · 1.89 KB
1
<doc> <legacy_id>3000</legacy_id> <name>desktopChanged</name> <type>message</type> <syntax> <example>desktopChanged</example> </syntax> <synonyms> </synonyms> <summary>Sent to the current card of the defaultStack whenever the <function tag="screenrect">screenRect Function</function> changes.</summary> <examples><example><p>on desktopChanged</p><p> -- Check stack is still on screen or resize your stack appropriately</p><p>end desktopChanged</p></example> </examples> <history> <introduced version="2.7">Added.</introduced> <deprecated version=""></deprecated> <removed version=""></removed> <experimental version=""></experimental> <nonexperimental version=""></nonexperimental> </history> <objects> <card/> </objects> <platforms> <mac/> <windows/> </platforms> <classes> <desktop/> </classes> <security> </security> <classification> <category>The System Environment</category> </classification> <references> <function tag="screenRect">screenRect Function</function> <property tag="windowBoundingRect">windowBoundingRect Property</property> <property tag="screenMouseLoc">screenMouseLoc Property</property> <message tag="resizeStack">resizeStack Message</message> </references> <description> <overview>Handle the <b>desktopChanged</b> message to rearrange or reconfigure your layout when the user changes their screen size or layout.</overview> <parameters> </parameters> <value></value> <comments>As the <b>desktopChanged</b> message can be sent by the OS at any time, it is recommended that you handle the message in the main-stack of your application. <p></p><p><note> The LiveCode IDE broadcasts the <b>desktopChanged</b> message to all main stacks that are currently open at the time the engine receives the notification from the OS - this is to improve consistency with behaviour in standalone applications.</note></comments> </description></doc>