Advertisement
anatolt

btn-anomaly

Feb 9th, 2015
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; аномалия с кнопкой. почему при нажатии Debug выходит 3 раза?
  2. OpenWindow(0,100,100,850,220,"Массовая заменялка")
  3. btn = ButtonGadget(#PB_Any,640,10,200,30,"Скабыдыщ")
  4. Repeat
  5.   Eventushko = WaitWindowEvent()
  6.   If EventGadget() = btn
  7.     Debug "кнопка нажал"
  8.   EndIf
  9. Until Eventushko = #PB_Event_CloseWindow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement