>>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao