Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.10.30;
Скачать: CL | DM;

Вниз

ГРУГЛАЯ ФОРМА   Найти похожие ветки 

 
TORT   (2005-06-06 18:09) [0]

ПРИВЕТ, у меня вопрос: круглая форма это реально,если да то как?


 
Antonn ©   (2005-06-06 18:18) [1]

регионами можно.
По образу и подобию:

procedure TForm1.FormCreate(Sender: TObject);
var
  rgn: HRGN;
begin
  Form1.Borderstyle := bsNone;
  rgn := CreateRoundRectRgn(0,// x-coordinate of the region"s upper-left corner
   0,            // y-coordinate of the region"s upper-left corner
   ClientWidth,  // x-coordinate of the region"s lower-right corner
   ClientHeight, // y-coordinate of the region"s lower-right corner
   40,           // height of ellipse for rounded corners
   40);          // width of ellipse for rounded corners
 SetWindowRgn(Handle, rgn, True);
end


 
panov ©   (2005-06-06 19:47) [2]

Не надо так орать.



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

Текущий архив: 2005.10.30;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.058 c
1-1128669787
Woolen
2005-10-07 11:23
2005.10.30
Access violation в TComboBox


2-1128851876
ArtemESC
2005-10-09 13:57
2005.10.30
Ascii => DWord


4-1125244172
LiqS
2005-08-28 19:49
2005.10.30
CopyFileEx


2-1128877527
дендроид
2005-10-09 21:05
2005.10.30
как извлечь корень n-ной степени?


14-1128944536
Андрей Жук
2005-10-10 15:42
2005.10.30
Дурацкие детские книжки - это надо читать - обхохочитесь