Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen display problem
Message
De
01/10/2000 22:28:35
 
 
À
01/10/2000 20:16:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00423287
Message ID:
00423298
Vues:
23
>below is codes of my initial program for firing-up my mainmenu.mpr menu program. however, the caption "Prestige Limited" flickers and disappears. if i double-click on the icon at the window taskbar, the caption appears permanently. how could i make it appear permanently when i execute my initial program? tks
>
>_screen.windowstate=2
>heightpoint=70
>
>with _screen
> .caption='Prestige Limited'
> .addobject("Title1","Title")
> .addobject("Title2","Title")
> .Title2.Top =.Title2.Top-3
> .Title2.Left =.Title2.Left-3
> .Title2.Forecolor =RGB(255,100,0)
>endw
>do mainmenu.mpr
>read events
>clea all
>
>Define class Title as Label
> caption ='PRESTIGE LIMITED'
> visible =.t.
> height =100
> width =900
> top =(_screen.height-heightpoint)/2
> left =200
> forecolor =RGB(192,192,192)
> backstyle =1
> fontname ='tahoma'
> fontsize =30
>enddefine

You can put
TITLE=PRESTIGE LIMITED
in your CONFIG.FPW file. If you are building an .EXE, you can bind CONFIG.FPW into your executable.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform