Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu screen
Message
 
 
To
20/06/2001 06:37:10
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00521285
Message ID:
00521344
Views:
12
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform