Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect that control is added in run-time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00418065
Message ID:
00418069
Vues:
28
>Is there way to detect in control's Init method code that control added in run-time? For example:
>
> procedure Init
> lAddedInRuntype = ????
> if lAddedInRuntype
> ... special actions
> endif
> endproc

Hi Vlad,

Since .addobject() supports the parameters you probably may add and pass the tAddedAtRunTime = .t. parameter
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform