Mike Sue-Ping
Cambridge, Ontario, Canada
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Absolutely.
I think that perhaps I should also mention that I have an application object that is instantiated prior to the form being run. I use custom properties of that object to set form appearances (colors). The application object has SET TALK OFF in the Init() method. Might this object have anything to do with the issue?
Mike
>Is SET TALK OFF the first line in the form.load?
>
>>I thought of that before. I set a breakpoint on SET("TALK"), which showed "OFF", then run the form. The stuff immediately scrolls in the VFP SCREEN before SET("TALK") finally stops the code. When it stops, SET("TALK") still shows "OFF" in the debugger and it paused on a line in the form's load event that says SET TALK OFF.
>>
>>Go figure. This is too weird.
>>
>>Mike
>>
>>
>>>Hi Mike
>>>
>>>It may be getting turned on again. Set a breakpoint on SET("TALK").
>>>
>>>>Hi Mike,
>>>>
>>>>I have SET TALK OFF in the Load event of form class. I tried to put SET TALK OFF in the Load event of the form itself and neither makes a difference. I even put SET TALK OFF in the Init of the form's Dataenvironment and same thing happens. The information is always displayed, scrolling in the VFP SCREEN.
>>>>
>>>>I know it has to do with the form's dataenvironment since everything works fine if I change the latter from "Private" to "Default dataenvironment".
>>>>
>>>>Any other ideas?
>>>>
>>>>Regards,
>>>>
>>>>Mike
>>>>
>>>>>SET TALK is scoped to the datasession and defaults to ON. In your form superclass, you need to add a method that you use to establish your preferred defaults. Call that method from your form superclass's load event.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement