Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SpecialEffect Not Working
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941161
Message ID:
00941669
Views:
7
>I have a small utiltiy class that creates a row of tabs.
>Each tab is simply a container class with a label in it.
>
>The project is ZIPped here Tabs.zip
>
>Run the form Test, and click a tab. The selected tab should depress.
>
>In class 'cntTabs', in method 'Selected', is where the problem is
>occuring.
>
>If I run it in debug mode, sometimes it works. When I run it in
>runtime, it never works. I'm using VFP 8. I'v also tried it with
>VFP 7 and VFP 9 - same result.
>
>I'm open to suggestion.

I did not download the zip - but I've had similar experiences - especially when using removeobject. C0000005 sometimes [even] happened. My solution was to setfocus to a textbox on the parent container (little bitty transparent one), before removeonject was issued. I've also assigned objectnames character values after they were released. Running in Debug let them work and my suspicion was that the the loss of focus forced some sort of internal VFP housekeepping. Weird!:)
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform