Property Handle Focus
Read Access: | Get Focus to HandleVariable |
The Focus property returns the ID of the object that currently has the focus. This property may be used anywhere an object_id is called for. This property is used in object-independent procedures, where the procedure is designed to act upon the focus. The desktop object has a property called focus, being the ID of the object that has the focus.
Send SaveYourself of (Focus(Desktop)) If (Focus(Desktop)=Self) Send DeActivate