Advertisement
anatolt

hyperlinks

Jan 27th, 2015
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; hyperlinks
  2. If OpenWindow(0, 0, 0, 270, 160, "HyperlinkGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  3.   ; почему она не подчёркнутая?
  4.   HyperLinkGadget(1, 10, 30, 250,20,"at02.ru", RGB(0,0,255), #PB_HyperLink_Underline)
  5.   SetGadgetFont(1, LoadFont(0, "Arial", 12))
  6.   Repeat
  7.   ev = WaitWindowEvent()
  8.   If ev = #PB_Event_Gadget And EventGadget() = 1
  9. RunProgram("http://at02.ru")
  10. EndIf
  11. ; почему оно не закрывается с первого раза?
  12. Until WaitWindowEvent() = #PB_Event_CloseWindow
  13. EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement