Вниз
Скачать: CL | DM;

Фон   Найти похожие ветки 

← →
Jackson ©   (2002-11-16 20:40) [0]

Люди,плиз хелп!!!Не могу сделать фон!!!
constructor TBackroundSprite.Create(AParent: TSprite);
begin
inherited Create(AParent);
PixelCheck := true;
Image:= form1.dxImageList1.Items.Find("Fon");
Width := Image.Width;
Height := Image.Height;
end;
При запуске проги у меня чёрный экран!!!Подскажите,где я ошибся!


← →
NikotiN ©   (2002-11-17 11:40) [1]

Наверно так:

TBackGround=class(TBackgroundSprite)
constructor Create(AParent:TSprite);override;
end;

constructor TBackGround.Create(AParent:TSprite);
begin
inherited create(AParent);
PixelCheck := true;
Image:= form1.dxImageList1.Items.Find("Fon");
Width := Image.Width;
Height := Image.Height;

Z:=0;
Tile:=true;
SetMapSize(200,100);
end;


← →
NikotiN ©   (2002-11-17 11:41) [2]

Забыл скозать:
SetMapSize(x,y)
x,y - на твоё усмотрение!



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: -0.986 c
14-54813
Supreme 2
2003-03-30 22:32
2003.04.17
Прикольные фразы


4-54960
Dennis S
2003-02-14 12:20
2003.04.17
Printer, spooler & задания на печать (LAN)


11-54547
eSKey
2002-07-05 15:48
2003.04.17
Переход на KOL


14-54794
ai
2003-04-02 13:55
2003.04.17
Сколько стоит написать OPC-клиента?


11-54546
Vitalis
2002-06-29 03:31
2003.04.17
Протокол POP3




   Наверх