Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question regarding dodefault()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00090489
Message ID:
00090499
Views:
20
Paul,

You may have run into a bug in VFP 5.0. Go to Help, About and see if you have VFP 5.0a. If not, download or order Visual Studio Service Pack 3 from Microsoft's web site.

I can't remember the exact problem, but it has to do with code somewhere up the class hierarchy getting executed twice when you use DODEFAULT(). It's fixed in 5.0a.

>I am working with the Visual Maxframe framework. I would like to add some code to the gotfocus event of a textbox. So I issued a dodefault() and then added my code. I was getting errors that dealt with the code in the parent class's gotfocus. Anyway...I stripped all of my code and just left the dodefault() and I still get the error. If I remove the dodefault() I don't get the error. What am I missing here? Isn't having a dodefault() in an event by itself just like not having it there?
>
>Sorry if a dumb question..
>
>Regards,
>
>Paul
Previous
Reply
Map
View

Click here to load this message in the networking platform