Questions tagged [gambas]

Gambas is an object-oriented dialect of the BASIC programming language as well as the integrated development environment that accompanies it.

Designed to run on Linux and other Unix-like computer operating systems,[3] its name is a recursive acronym for Gambas Almost Means Basic. Gambas is also the word for prawns in the Portuguese and Spanish languages, from which the project's logos are derived.

Gambas is included in a number of Linux distributions' repositories, such as Debian's, Fedora's, Mandriva Linux's and Ubuntu's. There is a Windows version of Gambas which can run under the Cygwin environment, although this version is significantly less tested than its Linux counterparts and is command line only; coLinux and derivatives have also been used.

24 questions
0
votes
1 answer

Gambas3 setting Cursor position

I am using a qt5 TextEdit in Gambas3 for rich text. Please consider the code: Dim cursorpos As Integer If Key.Code = Key.Left Or Key.Code = Key.Up Or Key.code = Key.Right Or Key.Code = Key.Down Or Key.Code = Key.Delete Or Key.Code =…
Sean
  • 789
  • 6
  • 26
0
votes
1 answer

How to navigate to a new page in Gambas3

I find myself having to deal with some delightful legacy software written in Gambas3. I have to extend the functionality of a small GUI application with a new control page. Naturally, as for similar GUI libraries I've worked with (web, Android…
Maldus
  • 10,548
  • 4
  • 24
  • 36
0
votes
2 answers

Unknown symbol 'textbox1' in class container-gambas error

I had copied data from one form to another previously and it worked bt right now when I am trying to copy the detail of field 'PASSPORT' from login.form to from_to.form it shows an error. here's the login.form and here's the from_to.form with…
max tech
  • 69
  • 1
  • 9
0
votes
1 answer

GAMBAS3 - show form on second screen

Does anybody know how to show a specific form from GAMBAS3 in the second monitor? The main frm should open on primaryscreen and the second one on the second screen. i cannot find any solution.
0
votes
2 answers

Raspberry Pi2 Windows 10 IOT core and Visual Basic 2015

Is it possible to run Visual Studio on a Raspberry PI 2 with Windows IOT core on it? I want to creating create a touch-screen (HDMI with RPI2) application on Windows 10, which will be used to take the orders of customers and transfer the order…
0
votes
1 answer

How to draw a line in Gambas3 using opengl

I have created a project in Gambas with components : gb.opengl, and gb.opengl.glu. FOllowing the NeHe tutorials, I have the following code : (glArea1 is the form component for opegl applications.) Public Sub GLArea1_Open() gl.ClearDepth(100.0) …
Sean
  • 789
  • 6
  • 26
0
votes
1 answer

Gambas - How can I create radio (mutually exclusive) menu?

I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical application and I'm trying to create radio (mutually exclusive) menu items, with a radio icon instead of a check mark when selected. I can't find any property in the Menu…
TechAurelian
  • 5,561
  • 5
  • 50
  • 65
0
votes
1 answer

GAMBAS - Exit Sub in IF statement

I have a checkbox that is supposed to trigger whether or not a button is visible. Below is the code: PUBLIC SUB chkGiveUp_Click() ' Check to see if the Give Up button's visible property is set to true, and if it is, hide the button. If it is…
William
  • 570
  • 3
  • 17
-1
votes
1 answer

Shared object library usage in gambas

I need to use mqtt protocol in gambas to get jobs done. I used mosquitto api and mosquitto-dev library then created something like that: ` #include #include int connectt(char *mqname,bool mqbool){ printf("something…
1
2