Function WMouseSelect() Foundation
Sets or retrieves whether a window can be selected with a left mouse click.
WMouseSelect( [<lNewSetting>] ;
) --> lOldSetting
The function returns the setting that was current before calling WMouseSelect() as a logical value.
When WMouseSelect(.T.) is called windows can be selected with a left mouse click. This is accomplished by a codeblock executed after Appevent() returns the event code xbeXT_WSelect. This codeblock can be user defined using SetAppEvent(). It receives the window ID of the clicked window and of the current window in its first and second parameter. The default codeblock is defined as follows:
SetAppEvent( xbeXT_WSelect, {|mp1,mp2,obj| WSelect( mp1 ) } )
Since mp1 receives the ID of the clicked window it is automatically selected.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.