Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to turn SCREEN on after config.fpw starts it OFF
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00982037
Message ID:
00982045
Vues:
43
Hi Alejandro

_screen.visible = .T. should suffice.

My suggestions:
a) Check for the _screen.top and _screen.left properties, perhaps the main form is off the screen.
b) Check for the _screen.windowsstate, perhaps the main form is minimized.
c) Check the _screen.height and _screen.widht, perhaps the screen is too little to be seen :)

Those conditions are not common, but I have seen everything is my 17 years of programming.



>>>I use SCREEN=OFF in contained config.fpw and show a top level form. After user accepts condition in that first form the real application starts, and I want the SCREEN to be ON showing the menu etc
>>>
>>>I put two READ EVENTS in startup prg, one for the license screen and the other one for the real app, but don't know how to turn main VFP screen back on. How do you do it?
>>>
>>_SCREEN.Visible = .T. does not do it.
>>
>>
>>
>>Alex,
>>
>>_SCREEN.Visible = .T. should be enough to make VFP main screen visible.
>
>But it doesn't. What else coud it be?
>
>
glAcceptLicense = .F.
>loSplash = NEWOBJECT('frmSplash','appForms.vcx')
>READ EVENTS
>IF !glAcceptLicense
>  * Uses did not accept license
>  RETURN
>ENDIF
>
>* Setup main window
>_SCREEN.Visible = .T.
>DO AppMenu.mpr
>* etc
>

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform