Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu screen
Message
 
 
À
20/06/2001 06:37:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00521285
Message ID:
00521344
Vues:
13
>>Budianto,
>>
>>You could do as follows:
>>WITH _Screen
>>*-- Create image for company logo
>>.addobject("CompanyLogo","Image")
>>.CompanyLogo.Picture = "CompanyLogo.bmp"
>>.CompanyLogo.Visible = .T.
>>
>>*-- Create label for Company name
>>.addobject("CompanyLabel","label")
>>.CompanyLabel.Caption = "My Company"
>>.CompanyLabel.Visible = .T.
>>ENDWITH
>
>
>Hi Benn,
>
>Thanks Benn, it's working, but can I make the background of the label and the image to be the same with the background of the menu screen.
>
>TIA
>
>Budianto

PMFJI, but you can use a MSK file to make certain portions of your BMP transparent and the natural background of your form will show through.

Take a look at Chapter 10 - Using Controls in the VFP Programmer's Guide. Do a search on "To create a mask for a .bmp" to find the relavent poassage.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform