Sample 33014: How to Determine the Mouse Pointer Location within a SAS/AF® Frame
To determine the cursor position within your SAS/AF frame, you can override the frame's _cursorTracker method. The _cursorTracker method maintains positional information about the mouse cursor and can be used to provide the information to the user.
The transport file available from the Downloads page contains a sample application that demonstrates how this can be done.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
After downloading the transport file, use the following PROC CIMPORT code to extract the application.
PROC CIMPORT library=Work infile='<location of the example.xpt file>';
RUN;
|
To determine the cursor position within your SAS/AF frame, you can override the frame's _cursorTracker method.
Date Modified: | 2008-08-29 15:40:48 |
Date Created: | 2008-08-20 10:17:18 |
Operating System and Release Information
SAS System | SAS/AF | z/OS | 8.2 TS2M0 | |
OpenVMS VAX | 8.2 TS2M0 | |
OS/2 | 8.2 TS2M0 | |
Microsoft Windows 95/98 | 8.2 TS2M0 | |
Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | |
Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | |
Microsoft Windows 2000 Server | 8.2 TS2M0 | |
Microsoft Windows 2000 Professional | 8.2 TS2M0 | |
Microsoft Windows NT Workstation | 8.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 8.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 8.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 8.2 TS2M0 | |
Microsoft Windows XP Professional | 8.2 TS2M0 | |
Windows Millennium Edition (Me) | 8.2 TS2M0 | |
64-bit Enabled AIX | 8.2 TS2M0 | |
64-bit Enabled HP-UX | 8.2 TS2M0 | |
64-bit Enabled Solaris | 8.2 TS2M0 | |
ABI+ for Intel Architecture | 8.2 TS2M0 | |
AIX | 8.2 TS2M0 | |
HP-UX | 8.2 TS2M0 | |
IRIX | 8.2 TS2M0 | |
Linux | 8.2 TS2M0 | |
OpenVMS Alpha | 8.2 TS2M0 | |
Solaris | 8.2 TS2M0 | |
Tru64 UNIX | 8.2 TS2M0 | |