Autor Beitrag
Inferno
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: So 23.03.03 18:51 
Hi leute !

Hab da mal ne Frage :D

Wie kann man eine Form verschieben die keine Titelleiste hat.

Also ich hab ne form mit Borderstyle = bsNone und hab da ein image drauf jetzt will ich praktisch die form also das image anfassen und damit die position der form verändern.

Danke schonmal im voraus

Bye
SMI
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 106

Win95-2003 / Debian / Suse
D1/D3/D6/D7
BeitragVerfasst: So 23.03.03 19:23 
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
    releasecapture;
    sendmessage(form1.Handle, WM_NCLBUTTONDOWN, 2, 0);
end;


Ich hoffe das meintest du

SMI

_________________
Wenn es im Jahre 1879 schon Computer gegeben hätte, würden diese vorausgesagt haben, daß man infolge der Zunahme von Pferdewagen im Jahre 1979 im Pferdemist ersticken würde.
(John C. Edwards, brit. Zukunftsforscher)
Inferno Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Do 27.03.03 18:17 
Titel: Hey cool
Jo genau das habe ich gesucht :o

Danke! :D

aber hab da mal noch ne frage

ist es möglich beim versieben den rand des fensters auszublenden?
wenn ned is ned schlimm ich wollts bloß mal wissen :)

Bye