Autor Beitrag
raven
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: Mo 10.02.03 14:59 
hi leutz ;)

ich hab eine schleife in der jedesmal mehrere löschvorgänge ausgeführt werden, ich möchte diesen prozess durch einen buttonclick sofort abbrechen ... nur wie kann ich eine prozedur von einem buttpnclick aus abbrechen ...

ich könnte natürhlich eine boolean variable nehmen und jedesmal abfragen ob die true is und mit dem abbrechenbutton dann auf false setzten aber das is sehr umständlich und das abbrechen würde unter umständen lange dauern ...

danke ;)
foxy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 10.02.03 15:03 
raven ich denke du kommst wohl nicht drum herum, eine abfrage in deiner schleife zu machen, ob dein button.click ist ... ich wüsste mal keine andere lösung .....

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
Fred Ferkel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 87



BeitragVerfasst: Mo 17.02.03 21:39 
hi
aber die variable kannst ja schließlich auch mehrmals in der whiel schleife oder eben repeat until schleife checken... dann dürfte das nicht so lange dauern...
cya