Search found 10 matches

by bal
Fri Dec 19, 2025 5:36 pm
Forum: Bugs - Windows
Topic: Issue with SetGadgetState() and SetGadgetItemState() on Windows
Replies: 4
Views: 92

Re: Issue with SetGadgetState() and SetGadgetItemState() on Windows

Hey guys, thanks for looking into this.

Seems this has been broken for a long time. Just went back to 4.61 on Windows and I can reproduce the same issue.
I created most of my GUI apps on Linux, that's why I've never noticed this bug.
by bal
Fri Dec 19, 2025 4:30 am
Forum: Bugs - Windows
Topic: Inconsistent mouse click events on ListViewGadget, ListIconGadget and TreeGadget
Replies: 0
Views: 43

Inconsistent mouse click events on ListViewGadget, ListIconGadget and TreeGadget

Noticed that left and right mouse click messages are not consistent across ListViewGadget, ListIconGadget and TreeGadget.
Also, the different platforms and subsystems behave in a different way.
TreeGadget looks to have multiple issues.

Could not test this on Mac or RPi.

ListViewGadget ...
by bal
Fri Dec 19, 2025 3:20 am
Forum: Bugs - Windows
Topic: Issue with SetGadgetState() and SetGadgetItemState() on Windows
Replies: 4
Views: 92

Issue with SetGadgetState() and SetGadgetItemState() on Windows

Seems there is an issue with both SetGadgetState() and SetGadgetItemState() on Windows when using them on ListViewGadget, ListIconGadget and TreeGadget.
Linux looks to be fine, but could not test this on Mac or RPi.

ListViewGadget

#win = 0
#ListView = 0
If OpenWindow(#win, 0, 0, 320, 140 ...
by bal
Wed Nov 15, 2017 6:01 am
Forum: Announcement
Topic: PureBasic 5.46 LTS released !
Replies: 29
Views: 28760

Re: PureBasic 5.46 LTS Beta 1 is out for testing !

Testing one of my applications on Linux using this beta, and it seems it's not possible to create a button with arbitrary sizes. Is that a GTK3 "feature"?

It's not a problem in PB5.2x (GTK2?), but with PB5.4x the button will always be big/wide enough for its text and some padding, which means they ...
by bal
Tue Jan 31, 2017 12:32 am
Forum: Announcement
Topic: PureBasic 5.60 final is available !
Replies: 145
Views: 87915

Re: PureBasic 5.60 beta 1 is available

Hi,

First of all, thanks for the new beta.

As for the new new ToolBar commands... I think ToolBarButtonText() should be SetToolBarButtonText() and it also would be handy to have a GetToolBarButtonText() pair of it.
Also, a "vertical toolbar" flag would be welcome as well ;)

Cheers,
by bal
Fri Feb 20, 2015 9:12 pm
Forum: Coding Questions
Topic: False colors using LineXY()
Replies: 5
Views: 2941

Re: False colors using LineXY()

This has been moved to Coding Questions though no question was asked but a bug was reported which is still there in PB 5.31. See the included example in the opening post.
by bal
Thu Feb 13, 2014 12:19 am
Forum: Tricks 'n' Tips
Topic: Simple registry functions
Replies: 20
Views: 14196

Re: Simple registry functions

Thanks srod, your code saved me a lot of time.
by bal
Wed Sep 18, 2013 10:30 pm
Forum: Coding Questions
Topic: False colors using LineXY()
Replies: 5
Views: 2941

Re: False colors using LineXY()

Thanks Demivec, #PB_2DDrawing_AlphaBlend really works as expected.
Alpha modes are still a bit tricky for me so I stopped experimenting when I got the result I wanted.
And thanks for the other tip as well. Though I can not see the difference in the two outputs yet it is good to keep these tricks in ...
by bal
Wed Sep 18, 2013 5:06 pm
Forum: Coding Questions
Topic: False colors using LineXY()
Replies: 5
Views: 2941

Re: False colors using LineXY()

thanks, good to know that :)

the strange thing is that the code does what I want (drawings with changeable transparency) except when I draw exact vertical lines with LineXY() as you can see in the example code.
by bal
Wed Sep 18, 2013 1:26 pm
Forum: Coding Questions
Topic: False colors using LineXY()
Replies: 5
Views: 2941

False colors using LineXY()

Hi All,

At last I have managed to recover my forum account.

Here is small bug I found some months ago while wanted to draw vertical lines with LineXY(...RGBA()) using DrawingMode(#PB_2DDrawing_AlphaClip).


;
; A bug when drawing a _vertical_ alpha line with LineXY(x1,y1,x2,y2,RGBA()) using ...