Have a look at the attached program and see if that helps you.
Search found 759 matches
- Thursday 23rd September 2021 2:32pm
- Forum: General
- Topic: Passing an argument from Filemanager to a Gambas-App
- Replies: 5
- Views: 362
There is no need for gb.args . The basic one works fine for what you are looking for. The 'Arguments' are passed to Gambas as an array. The 1st argument, , in the array is the name of your program so what you need is the 2nd argument, . Your file manager will pass the full path to Gambas so, t...
While Gambas is not cross-platform the fact that Windows now supports Linux to some extent is helpful. Here is a picture of my Gambas program, Simple Barcode (It's on the Gambas Farm), running with the Gambas IDE on Windows 10 under WSL (Windows Subsystem for Linux). https://www.cogier.com/gambas/Wi...
- Sunday 05th September 2021 10:29am
- Forum: Project showcase
- Topic: GradientButton, set 2 colours and the background blends
- Replies: 7
- Views: 452
Excellent stuff Bruce. Do you ever sleep, he asks, looking at your posting times? You can improve the IDE look by adding an image: - 1/. Create an image with all lower case name of your project, in this case ' gradientbutton.png '. 2/. Create a folder ' .hidden/control ' in the application folder. 3...
- Wednesday 01st September 2021 1:50pm
- Forum: Component
- Topic: Combining Event Handlers
- Replies: 2
- Views: 288
Run this code in a Graphical Program. Hopefully it will help you. hButton As Button Label1 As Label Public Sub AllButtons_Click() Label1.Text = Last.Name End Public Sub Form_Open() ''All this is to add components to the Form Dim sButtonNames As String = ["btnDoSomething1", "btnDoAnything1", "btnDo...