Anybody having issue with web-debugging?
Posted
#1
(In Topic #842)
Trainee
A couple of days ago I got an update for gambas. Since then, when I press "play" in my web-project, instead of opening the browser using gambas internal web server, it just shows me the html text in the debug window below in the IDE.
¿Is it not possible anymore to test web apps?
However, if I compile and place the .gambas file in my htdocs directory, it plays nicely and does what it is supposed to do.
I feel more lost than a penguin in Vegas…
Posted
Guru

Posted
Trainee
Code
'Gambas class file
Export
Public Sub WebButton1_Click()
Message("This is a message box.")
End
Public Sub WebTimer1_Timer()
WebLabel1.Text = Format(Now, "hh:nn:ss")
End
Public Sub WebForm_Open()
WebTimer1_Timer
End
Posted
Guru

<IMG src="https://www.cogier.com/gambas/WebServer.png">
</IMG>I changed your code slightly: -
Forum tip: - Use the 'gb' button when adding code, it looks better.
<IMG src="https://www.cogier.com/gambas/gb_button.png">
</IMG>
Posted
Trainee
You are a life saver, and will do code button next time.
1 guest and 0 members have just viewed this.



