Search found 1508 matches

by BruceSteers
Thursday 14th March 2024 12:23am
Forum: General
Topic: Make Gambas Start with QT5
Replies: 4
Views: 259

Re: Make Gambas Start with QT5

Maybe set the GB_GUI=gb.qt5 as a system env at startup .
in ~/.profile or something

export GB_GUI=gb.qt5
then all gambas programs using gb.gui will use qt5

or edit your launcher to be

env GB_GUI=gb.qt5 gambas3


or set an alias..

alias gambas3="env GB_GUI=gb.qt5 gambas3"
by BruceSteers
Wednesday 13th March 2024 6:57pm
Forum: General
Topic: Colour picker issue.
Replies: 8
Views: 815

Re: Colour picker issue.

Does not look like Ben wants to make this change. He's not commented on the merge request. (i just gave him a nudge) If you want your gambas to do it and you compile then you could replace this file in your branch's /comp/src/gb.form/.src/Color folder and recompile. https://gitlab.com/gambas/gambas/...
by BruceSteers
Wednesday 13th March 2024 2:03pm
Forum: General
Topic: [Solved] How to scroll a Gridview via code
Replies: 2
Views: 216

Re: How to scroll a Gridview via code

Or if you want to use a global marker instead of the GridView.Row property id do it like this... (i'll call the variable RowPos not RowCount as it makes more sense) Global.RowPos = 0 Public Sub btnUpArrow_Click() Global.RowPos = Max(Global.RowPos - 1, 0) ' reduce by one if not less that zero ' Selec...
by BruceSteers
Wednesday 13th March 2024 3:50am
Forum: General
Topic: Dev PC is 64bit OS client machines 32bit OS
Replies: 1
Views: 172

Re: Dev PC is 64bit OS client machines 32bit OS

what happens when you try ? :roll:
:D
by BruceSteers
Tuesday 12th March 2024 7:00pm
Forum: General
Topic: [Solved] How to scroll a Gridview via code
Replies: 2
Views: 216

Re: How to scroll a Gridview via code

Do you change Global.RowCount? is it a count or a position marker? it looks like it should be the position marker I'd not use it and just do this... Public Sub btnDownArrow_Click() GridViewProducts.Select(Min(GridViewProducts.Rows.Max, GridViewProducts.Row + 1), 1) End Public Sub btnUpArrow_Click() ...
by BruceSteers
Tuesday 12th March 2024 2:45pm
Forum: General
Topic: [Sloved] Programmly send Button Name
Replies: 3
Views: 305

Re: Programmly send Button Name

Me["BUTTONAMEHERE"].Background = Color.Yellow


For c As Integer = 1 to 46

frmPLUList["Btn" & c].Background = Color.Yellow

Next
by BruceSteers
Monday 11th March 2024 5:14pm
Forum: Beginners
Topic: Aligning Buttons on form picture
Replies: 4
Views: 315

Re: Aligning Buttons on form picture

Or get on the mailing list and ask Benoit if Form.Picture property could show in the IDE.
It may be a simple task for him.
by BruceSteers
Monday 11th March 2024 2:06pm
Forum: Beginners
Topic: Aligning Buttons on form picture
Replies: 4
Views: 315

Re: Aligning Buttons on form picture

No.

A PictureBox control will show the image at design but not Form.Picture property
by BruceSteers
Saturday 9th March 2024 6:29pm
Forum: The Gambas IDE
Topic: A note on using version control
Replies: 1
Views: 443

Re: A note on using version control

In this commit...
https://gitlab.com/gambas/gambas/-/comm ... 4104ea04bd

Benoit kindly added an option to disable the auto-reverting these files if you need it not to.

It's on the main preferences window...
by BruceSteers
Saturday 9th March 2024 4:43pm
Forum: General
Topic: Qt6
Replies: 29
Views: 12161

Re: Qt6

Has anyone heard anything about when or if a Qt 6 component will be added though? The last commit has new gb.qt6 component. It's currently only enabled for ubuntu lunar lobster I'm working on getting it enabled for mint (ubuntu jammy) problem seems to be the pkg config files do not get installed so...