Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SpecialEffect Not Working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00941161
Message ID:
00941669
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform