Search found 383 matches

by BruceSteers
Saturday 27th February 2021 4:33pm
Forum: General
Topic: Border problems
Replies: 17
Views: 261

Re: Border problems

Could this be the reason why the borders don’t show as expected? I usually close the Console at the bottom of Gambas but this time I forgot. When running my sample project, I spotted this : Gtk-Message.png Could that be the reason why the borders don’t show as expected? If not, thanks for your exam...
by BruceSteers
Saturday 27th February 2021 11:57am
Forum: General
Topic: Border problems
Replies: 17
Views: 261

Re: Border problems

Indeed Steve. This code should simplify something I tried with a lot more coding. But it doesn’t solve the problem regarding the border styles. Meanwhile I found that 3 more styles should be possible: Dashed, Dotted and Double. And that brings me to the Themes. I have never used any, just satisfied...
by BruceSteers
Friday 26th February 2021 7:32am
Forum: General
Topic: Border problems
Replies: 17
Views: 261

Re: Border problems

Hi Cogier and Bruce Bruce : I’ve tried that ‘trick’ already, but it makes building a GUI rather complicated. It would just be nice if there are ways to define control borders using more options than the 4 provided. Also provided those work in the first place – unless I’m doing something wrong. Cogi...
by BruceSteers
Friday 26th February 2021 2:34am
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 14
Views: 185

Re: Programatically Assign Picture to PictureBox

Ironically, if I use... BTN_LED_16.Foreground = &H00ff0000 or... BTN_LED_16.Foreground = &H0000ff00 The foreground text and border are quite happy to change as expected. :roll: That's more than ironic that's crazy talk :lol: the change you "expect" there is quite incorrect. hexidecimal values begin...
by BruceSteers
Thursday 25th February 2021 4:03pm
Forum: General
Topic: Border problems
Replies: 17
Views: 261

Re: Border problems

Hi. There has been written a lot on this forum on setting or customizing control borders, but it’s all about the GridView control. I just have taken up programming again – new computer Gambas 3.14.3 installed, and something feels wrong. Whichever control I want to set a border for, it only results ...
by BruceSteers
Thursday 25th February 2021 3:39pm
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 14
Views: 185

Re: Programatically Assign Picture to PictureBox

I was using pseudo code to describe the button as I was typing from my laptop in a different area. The color change code was not added until today... so that's not the reason... I only really noticed the button was not green today and started thinking, "maybe I should specify it in code." As for yo...
by BruceSteers
Thursday 25th February 2021 3:23pm
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 14
Views: 185

Re: Programatically Assign Picture to PictureBox

I see the problem.

Your colour setting &H00ff00

Should have a & at the end too.

&H00ff00&

Try that
by BruceSteers
Thursday 25th February 2021 2:21am
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 14
Views: 185

Re: Programatically Assign Picture to PictureBox

yeah the slider is denoted by the widget theme not gambas (that's the gtk2 slider) you'll find it looks different with qt or gtk3 if your app is qt you should run gambas in qt mode too just so it looks more like your design I hope you are not using.. Button.Background Button is the name of the objec...
by BruceSteers
Wednesday 24th February 2021 10:14pm
Forum: Component
Topic: Programatically Assign Picture to PictureBox
Replies: 14
Views: 185

Re: Programatically Assign Picture to PictureBox

It does something svg like.
Gambas requires qt svg libraries

Check put this wiki page...
http://gambaswiki.org/edit/comp/gb.qt4/svgimage?ht=Svg

Not sure what else svg it supports.
Maybe use Steve's help search tool to find svg related info for gambas.

Best of luck.
by BruceSteers
Wednesday 24th February 2021 2:34pm
Forum: General
Topic: Get build data
Replies: 13
Views: 149

Re: Get build data

It might be an even better idea to use Stat() on one of the exes internal files rather than the actual exe , I'm not sure If modified date if exe can change but the file ./.gambas/FMAIN For example will be present and its date should stay the same even if the exe changes. Thanks Bruce I shall try t...