Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 11 of 11 total
Thread Background Images in TSurface.wbi.
Mon, Dec 7 2015 5:02 PMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Raul,

Following code worked Smile

procedure TForm1.Form1Create(Sender: TObject);
begin
   background.image.name := 'background.jpg';
end;

Regards,
Hüseyin



On 07-12-2015 22:41, Hüseyin Aliz wrote:
> Raul,
>
> Thanks for the input Smile
>
> Regards,
> Hüseyin
>
> On 07-12-2015 22:33, Raul wrote:
>> On 12/7/2015 3:59 PM, Hüseyin Aliz wrote:
>>> Sorry if my question was not clear. What I want is:
>>>
>>> Mainform -> background.image('logon.jpg');
>>> All other forms -> background.image('background.jpg');
>>>
>>> Hope it's more clear now Smile
>>
>> You can do that with the form directly by using "background.image.name"
>>
>> for example in the form OnCreate :
>>
>> procedure TForm1.Form1Create(Sender: TObject);
>> begin
>>    self.background.image.name := self.name + '.jpg';
>> end;
>>
>>
>> Application.Surface.Background is for the application itself (not
>> form) so you do not need to touch that at all.
>>
>> Raul
>>
>
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image