Autor Beitrag
reichemi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 41

WinXP home + prof, SUSE 9.2
Delphi 6
BeitragVerfasst: So 05.03.06 11:15 
hallo,

hat zufällig schon jemand erfahrungen mit den DScript VCL komponenten gemacht? den freeware download gibts hier: www.dscriptvcl.com/

ich hab einige probleme/fragen dazu:

1. klappt die online registrierung denn? ich hab schon länger als 24h gewartet, und keine antwort... ebenso auf bei einer email an contact@delphiscript.com :gruebel:

2. ich habe zwei formulare, jeweils mit einem TDSMagnetic darauf, mit folgenden eigenschaften:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
Active = True
AutoSnap = True
ClusterIndex = 0
ClusterSnapping = True
EnableClustering = True
GroupInde = 0
ImmediateCluster = False
Range = 15
SnapOptions = [soInScreen, soMagnet]


d.h. wenn ich ein fenster an das andere ziehe, dann snappen die auch zusammen, und ich kann anschließend beide mit einmal bewegen...

2.a) ich möchte (wie in winamp), dass lediglich das MainForm die anderen fenster "mit bewegt". wenn ich ein anderes form bewege, soll sich dieses vom MainForm wieder lösen

2.b) ich erstelle die beiden fenster zur laufzeit. wie kann ich da beide fenster zusammen "snappen"?



vielen dank schon im voraus!! :)
reichemi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 41

WinXP home + prof, SUSE 9.2
Delphi 6
BeitragVerfasst: So 05.03.06 21:58 
also punkt 2.b) hab ich jetzt erstmal so durch die hintertür gelößt ;)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
with Form2 do begin
  x := Left+((Width-Left) div 2);
  y := Top + 10;
end;

SetCursorPos(x, y);
Mouse_Event(MOUSEEVENTF_LEFTDOWN, 0000);
SetCursorPos(x, y-10);
Mouse_Event(MOUSEEVENTF_LEFTUP, 0000);