Search found 873 matches
- Monday 09th May 2022 2:01pm
- Forum: Beginners
- Topic: switch to previous instance
- Replies: 4
- Views: 213
Is there in Gambas something like VB's PrevInstance? I don't think there is, but you can see what windows are open with the following code: - Public Sub Form_Open() Dim hWindow As DesktopWindow Desktop.Windows.Refresh() For Each hWindow In Desktop.Windows Print hWindow.VisibleName Next End
This code should help (I had to change your line 27 as it caused a crash): - Private afPoints As New Float Public Sub ToolButton1_Click() afPoints.Add([10, 100]) afPoints.Add([60, 10]) afPoints.Add([60, 10]) afPoints.Add([110, 100]) afPoints.Add([30, 50]) afPoints.Add([80, 50]) DrawingArea1.Refr...
- Tuesday 03rd May 2022 3:37pm
- Forum: General
- Topic: Control FiscalPrinter via external library
- Replies: 6
- Views: 299
I don't know the answer, but I think you need to look at WCHAR_T. This is a Microsoft speciality. Does it need to be there, or should it be in lower case?
- Sunday 01st May 2022 12:11pm
- Forum: Project showcase
- Topic: GauchoSketch a CAD to make simple diagrams.
- Replies: 2
- Views: 166
There is some very nice programming here. I have used 2D CAD in a professional capacity, so I was looking for various features. Here are some of my observations: - About - Clicking this got no response, a project can live or die on its documentation. Line Styles and line Weights - Can you indicate w...
- Saturday 30th April 2022 12:46pm
- Forum: Web
- Topic: Anybody having issue with web-debugging?
- Replies: 4
- Views: 241
You need to switch on the HTTP server. From the Debug Menu select Configuration.. and turn on the HTTP server. https://www.cogier.com/gambas/WebServer.png I changed your code slightly: - ' Gambas class file Export Public Sub WebButton1_Click() Message("This is a message box.") End Public Sub WebTime...