Search found 759 matches

by cogier
Friday 08th October 2021 2:51pm
Forum: General
Topic: Desktop.windows give only active window [solved]
Replies: 5
Views: 224

Re: Desktop.windows give only active window

Have a look at the attached program and see if that helps you.
LineUp-0.0.1.tar.gz
(33.67 KiB) Downloaded 55 times
by cogier
Tuesday 05th October 2021 2:29pm
Forum: General
Topic: Adding help
Replies: 2
Views: 122

Re: Adding help

Thanks PJBlack. I looked all over the place for this.
by cogier
Tuesday 05th October 2021 9:03am
Forum: General
Topic: Adding help
Replies: 2
Views: 122

Adding help

I have created a class which I export so that it appears in the Toolbox. Does anybody know how and where to add 'Help' documentation?
by cogier
Thursday 30th September 2021 11:05am
Forum: Beginners
Topic: Console Application
Replies: 3
Views: 285

Re: Console Application

What happens if you compile the code in the IDE and add a Desktop icon. Will it run from the Desktop?

Image
by cogier
Thursday 23rd September 2021 2:32pm
Forum: General
Topic: Passing an argument from Filemanager to a Gambas-App
Replies: 5
Views: 362

Re: Passing an argument from Filemanager to a Gambas-App

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, [0], in the array is the name of your program so what you need is the 2nd argument, [1]. Your file manager will pass the full path to Gambas so, t...
by cogier
Tuesday 07th September 2021 9:03am
Forum: Lounge
Topic: Cross Platform
Replies: 3
Views: 431

Re: Cross Platform

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...
by cogier
Sunday 05th September 2021 10:29am
Forum: Project showcase
Topic: GradientButton, set 2 colours and the background blends
Replies: 7
Views: 452

Re: GradientButton, set 2 colours and the background blends

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...
by cogier
Wednesday 01st September 2021 1:50pm
Forum: Component
Topic: Combining Event Handlers
Replies: 2
Views: 288

Re: Combining Event Handlers

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...
by cogier
Monday 30th August 2021 11:19am
Forum: Project showcase
Topic: 2048 The game
Replies: 1
Views: 223

Re: 2048 The game

Updated due to 'New' colours not working in Debian. Tested with Linux Mint 20.2, Gambas 3.16.2 and Debian 10, Gambas 3.12.2.
2048-1.1.tar.gz
(48.18 KiB) Downloaded 43 times
by cogier
Sunday 29th August 2021 3:03pm
Forum: Project showcase
Topic: 2048 The game
Replies: 1
Views: 223

2048 The game

Anyone for 2048? Comments and feedback requested.

Image
2048-1.0.tar.gz
(46.04 KiB) Downloaded 45 times