Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession issue
Message
 
 
À
22/11/2000 18:02:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00444723
Message ID:
00444834
Vues:
7
>>>>This one is more sticky:
>>>>
>>>>I have three forms in this particular .app. Each is set for a PRIVATE datasession. I have TALK ON and STATUS BAR ON as I want to see the alias info and other messages. The first form launched shows this fine, but subsequent forms are in higher datasessions. Is there a way to use form activate code to shift which datasession the TALK info is monitoring ??
>>>>
>>>>Thanks,
>>>>Bruce Covey
>>>
>>>SET TALK is scoped to the datasession, so you will have to issue SET TALK in the form Load()
>>>If you have a form superclass, do it there.
>>>If not, make one and do it there :) You can redefine your form as your superclass using the Class Browser.
>>>If you don't make a superclass, you will have to put in each form's Load()
>>
>>Hi Trey,
>>
>>Do you know any other methods than hacking scx to redefine form's class? Suppose, you form is based on classA. You now want it to be based on classB in ClassLibB. How would you do it? I checked FAQ, but there is only reference for moving or renaming class.
>
>Open the existing form and the new parent class in the same Class Browser.
>Right click the form and click Redefine.
>Then pick the class you want to Redefine it to.

Great trick! If it's not in the FAQ already, could you please add this one? Or to your existing entry?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform