Posted: Sun Mar 23, 2003 10:01 am
Restored from previous forum. Originally posted by momo.
Hi
I wanted to do a browser for testing the Webgadget.
I can go to any site i want but i cannot click on any link on the site?:) this is the code:
OpenWindow(1,0,0,1024,712,#PB_window_minimizegadget | #PB_window_maximizegadget | #PB_Window_sizegadget | #PB_Window_ScreenCentered,"second")
mama = WindowID()
CreateGadgetList(mama)
StringGadget(11,0,0,900,20,GetGadgetText(11))
aktu:
ButtonGadget(12,900,0,90,25,"aktualisieren")
WebGadget(13,0,25,1024,650,GetGadgetText(11))
ActivateGadget(12)
Repeat
y = WindowHeight()
x = WindowWidth()
EventID = WindowEvent()
If EventID = #PB_EventGadget
Select EventGadgetID()
Case 12
Goto aktu
EndSelect
EndIf
If eventID = #PB_eventclosewindow
ende = 1
EndIf
Until ende = 1
End
I hope someone has got a solution!!
momo
Don't Look so stupid
I've got no Signature!!
Hi
I wanted to do a browser for testing the Webgadget.
I can go to any site i want but i cannot click on any link on the site?:) this is the code:
OpenWindow(1,0,0,1024,712,#PB_window_minimizegadget | #PB_window_maximizegadget | #PB_Window_sizegadget | #PB_Window_ScreenCentered,"second")
mama = WindowID()
CreateGadgetList(mama)
StringGadget(11,0,0,900,20,GetGadgetText(11))
aktu:
ButtonGadget(12,900,0,90,25,"aktualisieren")
WebGadget(13,0,25,1024,650,GetGadgetText(11))
ActivateGadget(12)
Repeat
y = WindowHeight()
x = WindowWidth()
EventID = WindowEvent()
If EventID = #PB_EventGadget
Select EventGadgetID()
Case 12
Goto aktu
EndSelect
EndIf
If eventID = #PB_eventclosewindow
ende = 1
EndIf
Until ende = 1
End
I hope someone has got a solution!!
momo
Don't Look so stupid
I've got no Signature!!