Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling Objectsiple
Message
From
27/09/1999 04:58:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00269221
Message ID:
00269223
Views:
26
>I have a form that is set set to KeyPreview = .T. Keypress event checks for keycode 27 and ifso this.release(), oops, nothing happens and the only way to get rid of it is to kill VFP with the 3 fingered release app function.
>
>I rarely use the wizard to make forms but this time I did. Out of the hundreds of forms I've created in VFP6 this is the only one that does this. I also noticed the wizard set it to show in top level form instead of screen. Really, trust me...
>
>Then, after cutting and pasteing the entire contents of the form onto a new form, not using the wizard, everything is fine.
>
>??????


Eric,
This is a guess :) Your new form probably is not subclassed from the wizard form's parent. The wizard form class might have code initializing object refs. For implementing form release on "esc" you could also use "exit" button and set its "cancel = .t.".
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform