Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re:change background
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00578565
Message ID:
00578571
Vues:
11
>Problem... I've tried to change the backgound of the main window by the following
>with _screen
>.backcolor = rgb(0,0,0)
>.forecolor = rgb(255,255,0)
>endwith
>
>Makes the screen black with yellow print in the devloper, but when I build the project and insert this code in the "main program" so that it configures the window, it will set the main window to black, but not allow anything to print on the window. It has me puzzled as to what I'm doing wrong. It seems that if it works in the developer, it should work the same in the application.
>
>I'm also wondering how to put a bitmap image on the main screen so that when an application opens it appears in the main window.
>
>Neal

I dont know for the color issue but
you can set a bitmap with the picture property

.picture="filename.bmp"


HTH
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform