Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making the X work on FPW 2.6 in a Win95 Window
Message
 
To
04/11/1998 13:04:02
Robin Gordon
Access Financial Services
Nashville, Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00154432
Message ID:
00154750
Views:
19
Hi Robin,

>I have heard there is a way to make the X active in FPW 2.6 & Win95. Does anyone know were to get the patch?
  *-- This constant contains the width of the
  *   X-Button in foxels.
  #DEFINE ccXButton 2

  *-- Activate additional handler
  ON KEY LABEL LEFTMOUSE DO CheckShutDown
  
  *-- Check whether X-Button was clicked. We wait
  *   until the user released the button.
  PROCEDURE CheckShutDown
    Private lcWindow
    lcWindow = MWindow()
    IF MROW(lcWindow) == -1 AND ;
       MCOL(lcWindow) > WCOL(lcWindow) - ccXButton
       DO WHILE MDOWN()
       ENDDO
       IF MROW(lcWIndow) == -1 AND ;
          MCOL(lcWindow) > WCOL(lcWindow) - ccXButton
          QUIT
       ENDIF
    ENDIF
  RETURN
Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform