Might work for a panel, but does not seem to do what I want for picture boxes.
While it is disappointing that everything I read about how QT style sheets work suggests this should be possible, I have just implemented my own paint commands, which gave me the option of drawing ellipse borders as well.
Search found 44 matches
- Saturday 14th December 2019 4:53am
- Forum: General
- Topic: Gridview borders
- Replies: 14
- Views: 8099
- Saturday 14th December 2019 4:51am
- Forum: General
- Topic: Has anyone used Gambas Script?
- Replies: 3
- Views: 1465
Re: Has anyone used Gambas Script?
I have never heard of Gambas script. How is it different from normal Gambas?
- Wednesday 11th December 2019 2:12am
- Forum: General
- Topic: Gridview borders
- Replies: 14
- Views: 8099
Re: Gridview borders
I wanted to be able to change the colour and size of the borders of my controls, but I might just have to add my own drawing code.
- Monday 09th December 2019 3:31am
- Forum: General
- Topic: How to display a round object?
- Replies: 15
- Views: 5422
Re: How to display a round object?
For future reference, as far as I know JPEG has no transparency support, so you would need to use GIF or PNG.
- Sunday 08th December 2019 7:39pm
- Forum: General
- Topic: How to display a round object?
- Replies: 15
- Views: 5422
Re: How to display a round object?
As far as I know, all Gambas controls are rectangles. Is your image for the dial transparent? What I would do is have the dial as the bottom control, and then the ticks as the top control and let transparency do the rest. Also, what toolkit are you using? I only use Qt 5 as the transparency in all o...
- Sunday 08th December 2019 7:34pm
- Forum: General
- Topic: Gridview borders
- Replies: 14
- Views: 8099
Re: Gridview borders
Does this only work for gridview borders or can you change the colour and style on other controls?
Re: I'm back!
Unless you are here every waking hour of the day, it is a homecoming of some sort. 

- Tuesday 29th October 2019 3:19am
- Forum: General
- Topic: Define An Event From a Class
- Replies: 2
- Views: 1402
Re: Define An Event From a Class
Not exactly what I was looking for, but interestingly almost exactly what I came up with upon further research.
Great minds thing alike.
Your use of LAST is better than my solution though, which was to check which ones were triggering .Hovered, so thanks for that.
Great minds thing alike.

Your use of LAST is better than my solution though, which was to check which ones were triggering .Hovered, so thanks for that.
- Saturday 26th October 2019 5:34pm
- Forum: General
- Topic: Define An Event From a Class
- Replies: 2
- Views: 1402
Define An Event From a Class
I have a class file that inherits from picture box, and what I want to do is put code in the class file to account for the raising of the mouse down event. http://gambaswiki.org/wiki/comp/gb.qt4/control/.mousedown I can do it from the form, but this is overly complicated for more than one instance. ...
- Thursday 19th September 2019 3:33am
- Forum: General
- Topic: Kill FireFox
- Replies: 10
- Views: 4230
Re: Kill FireFox
I look at it this way. If you have $2000.00 worth of tools why use a breaker bar to break loose the lug nuts on you car when you can use a impact wrench. I have done it with the task manager, and a script from the command line. But it's more fun making things work with Gambas. :D Gambas is just ano...