Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7.0 Bug
Message
From
10/11/2001 14:18:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/11/2001 14:01:47
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00562698
Message ID:
00580174
Views:
17
Hi Barry,
I don't think it's a bug but a correction to behaviour. FWIW calling another visual object from a valid event is dangerous. Since caller hasn't validated yet it shouldn't lose focus but it does in VFP6 ! Formerly being able to call setfocus from a valid was a corrected bug.
Just moving the code to lostfocus cures it and as far as I remember it was the case with Don's form too.
Cetin

>Hi Don,
>
>I have encountered the exact same bug where you have a modal form returning a value into a grid text box - fine in VFP6, but locks up in a most peculiar way (not entirely frozen) in VFP7. Did you ever get to the bottom of this?
>
>An app with the above grid functinality now seems to work as follows:
>Running a VFP6 version of the app in a VFP6 environment works fine. (obviously)
>Running a VFP7 version of the app in a VFP7 environment breaks.
>Running a VFP6 version of the app in a VFP7 environment breaks.
>Running a VFP7 version of the app in a VFP6 environment works fine. (But obviously would not if we were to use any of the VFP7 language enhancements).
>
>ie the workings of the VFP7 development environment do not seem to have changed with respect to grids, but the runtime VFP7 is handling grids differently.
>
>I am way out of my depth on this, being but a simple one-man band trying to keep a small office application together. I have been pretty unhappy with a few peculiar behaviours that seem to have crept in following the upgrade. :-(
>
>For the time being I am going to revert to VFP6 - and hopefully the gurus out there will take heed!
>
>Regards
>Barry Sutton
>
>
>>Hi Mark,
>>
>>Thanks for the response.
>>
>>The Modal form is called from the textboxes valid event just like you suggested (if the user enters a '?) and the lookup form returns
>>the passed variable via the unload event. I'm just wondering you can duplicate my problem and if not then it's something I'm doing
>>.... but it worked just fine in version 6.0. All I'm after is a simple lookup that upon selection returns the value the grid during data
>>entry.
>>
>>
>>Thanks,
>>
>>Don
Ç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
Next
Reply
Map
View

Click here to load this message in the networking platform