Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy Event of the Browse window?
Message
From
01/07/1998 11:23:06
 
 
To
01/07/1998 11:14:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113265
Message ID:
00113402
Views:
16
>>>Hi, I've been exploring the possibility of using a "browse" window for a fast lookup. My biggest problem is that I cannot detect when the "browse" window is closed by the user so that I can use RECNO to "lookup" the information required. Can anyone help? Even if it is only to tell me it can't be done. I don't want to waste any more time on the project if it's not possible.
>>>
>>>Rgds
>>>Petras
>>
>>Why using BROWSE instead of GRID. Browse is no longer advisable with OOP world. Any proble with GRID???
>
>You could use the WEXIST(WindowName) function to test for the browse window. The check could go in a timer event.

As long as you don't use the NOWAIT clause on the BROWSE, then the code will 'sit' on the BROWSE statement. As soon as the BROWSE window is closed, the code will continue and you will know that the user has closed the browse - you could possibly check the LASTKEY() to see if they pressed ESCAPE and didn't want their selection to be accepted. Its what we used to do on an old FPW 2.6 application
regards

Ian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform