Applies To: |
|
Summary: |
How can I make a pop-up page Modal, or otherwise prevent a user from clicking buttons located on pages otherthan the current popup? |
Solution: |
One solution is to use the following
Cicode to prevent the mouse from moving outside a pre-defined area.
(i.e the limits of the Popup)
The following CiCode can be used to do this: On the Popup page, put the following cicode as a 'On Page Shown
Event' Where in this case, the Width of the Popup is 410, and the height 369. Then, in a Cicode file, define the following functions: //Global Variables //TRAPMOUSE - Prevent mouse from
leaving a speciifed area. FUNCTION //Use DLL calls to move the mouse FUNCTION |
Keywords: |
Trapping Trap mouse move movement movements window popup |
Related Links
Attachments