Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background Image
Message
 
À
19/11/1997 14:09:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00061118
Message ID:
00061370
Vues:
37
>>>>>>I would like to have a background image that is always displayed when my application is running. Is the _Screen.Picture the correct way of doing this? How do I make sure the image always fills the viewing area of my application window?
>>>>>
>>>>>Yes, _SCREEN.Picture is the simplest way, however if you want your image to be positioned, stretched, etc. then you should add image object to _SCREEN.
>>>>
>>>>Thanks Edward,
>>>>
>>>>If I add an image object to _SCREEN, how do I get it to automatically resize when the screen gets resized?
>>>
>>>I don't see natural ways to do this. Surely, you can apply timer, but it's too much. Basically, it's not a good idea to give _SCREEN any serious functionality, just because we cannot control it efficiently (no events).
>>
>>Could you base your entire app on a top-level form? Then you would have the flexiblilty to resize, etc...
>>
>>Are we talking VFP 5.0? If not, disregard...
>>
>>Joe
>
>We are talking VFP 5.0. I am using the Codebook framework and the app is based on an application object.

So can you do what I suggested? I have never used or even seen the Codebook framework, but I would think that instead of putting everything (forms, menu, etc.) on the _SCREEN object, you could put it on a top-level form and gain the functionality that you desire.

Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform