Focus - property of the PmaPanel object
Values:
true - the window has the focus
false - the window doesn't have the focus
Note:
Property access
for read and write.
Only one window can be active at the moment in
Windows OS (window that has the focus). This window as the only one receives impulses from the mouse and the keyboard. The window that has the focus, can be recognized by default by the window title bar (if any) has the flue background while other windows have in the window title bar the grey background.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oPanel = pMe.Pm("/Panel");
var bEnabled = oPanel.Focus;
// Reading from the property
oPanel.Focus = true;
// Writing into the property
Dim oPanel
Set oPanel = pMe.Pm("/Panel")
Dim bEnabled
bEnabled = oPanel.Focus
' Reading from the property
oPanel.Focus = true
' Writing into the property