Autor Beitrag
DelphiNoobCoder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 98

Win XP SP1

BeitragVerfasst: Sa 23.12.06 21:39 
HI wie gibt man wie in der Überschrift steht der Procedure True oder False?
Bsp.:
Wie müste das heisen wenn man dies über ein Button Klick mit True haben will?
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure SwapMouseButtons(const ASwap: Boolean);
begin
  if ASwap then
    SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP,1Nil0)
  else
    SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP,0Nil0);
end;
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 23.12.06 21:41 
SwapMouseButtons(true);

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 23.12.06 21:41 
Ganz einfach:
ausblenden Delphi-Quelltext
1:
SwapMouseButtons(true);					


edit: Mist zu langsam :-)

_________________
In the beginning was the word.
And the word was content-type: text/plain.