Search found 835 matches

by marcoagpinto
Mon Mar 25, 2024 11:03 am
Forum: Coding Questions
Topic: Getting the number of lines visible in normal ListIconGadget
Replies: 2
Views: 111

Re: Getting the number of lines visible in normal ListIconGadget

dige wrote: Mon Mar 25, 2024 9:39 am

Code: Select all

SendMessage_(GadgetID(#Gadget_ListIcon),#LVM_GETCOUNTPERPAGE,0,0)
Heya, thanks.

I believe that is for Windows only?

Do you know how to do it on Linux and Mac?

Thanks!
by marcoagpinto
Mon Mar 25, 2024 9:33 am
Forum: Coding Questions
Topic: Getting the number of lines visible in normal ListIconGadget
Replies: 2
Views: 111

Getting the number of lines visible in normal ListIconGadget

Heya,

If I have a ListIconGadget with hundreds of entries, is there a way to know how many lines are fitting (displayed) in its current view?
(font size and name may be changed).

Thanks!
by marcoagpinto
Sat Mar 23, 2024 6:10 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 277
Views: 35848

Re: PureBasic 6.10 beta 9 is out !

Thanks, Fred!

:twisted: :twisted: :twisted: :twisted: :twisted:
by marcoagpinto
Wed Mar 13, 2024 7:21 pm
Forum: Coding Questions
Topic: Installing 6.10 betas always complains about McAfee running
Replies: 9
Views: 287

Installing 6.10 betas always complains about McAfee running

Heya,

I wanted to report this before, but it is better late than never.

Every time I install a new 6.10 beta, during install I get this:
https://justpaste.it/blw9s

Thanks!
by marcoagpinto
Wed Mar 13, 2024 7:10 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 277
Views: 35848

Re: PureBasic 6.10 beta 8 is out !

Thank you, Fred!

:twisted: :twisted: :twisted: :twisted: :twisted: :twisted:
by marcoagpinto
Sat Mar 02, 2024 3:50 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 277
Views: 35848

Re: PureBasic 6.10 beta 7 is out !

Thanks, Fred!
by marcoagpinto
Sat Mar 02, 2024 11:17 am
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing

Fred wrote: Sat Mar 02, 2024 10:36 amFixed.
Dear Fred,

Were you able to make the mouse-wheel also work?

Thanks!
by marcoagpinto
Sat Mar 02, 2024 6:04 am
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [PB6.10beta6] New pop-up menu on Virtual vertical scroll gadget does nothing

Heya, @Fred,

Could I ask if you can also allow the virtual gadget to be scrolled with the mouse wheel?

Thanks!
by marcoagpinto
Wed Feb 28, 2024 2:48 pm
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [PB6.10beta6] New pop-up menu on Virtual vertical scroll gadget does nothing

So you need to post a snippet using your virtual list indeed. @Fred Isn't this enough?: Procedure global_update_virtual_vertical_scroll_bar_pre() Debug "current position in virtual vertical scroll bar:"+Str(GetGadgetState(2)) EndProcedure OpenWindow(1,0,0,1024,600,"Testing the vertic...
by marcoagpinto
Wed Feb 28, 2024 12:46 pm
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [PB6.10beta6] New pop-up menu on Virtual vertical scroll gadget does nothing

EnableExplicit #Window = 0 #ListIconGadget = 0 Define Counter If OpenWindow(#Window, 0, 0, 500, 500, "ListIconGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ListIconGadget(#ListIconGadget, 0, 0, 500, 500, "Column 1", 200, #PB_ListIcon_GridLines) AddGadgetColumn(#Lis...
by marcoagpinto
Wed Feb 28, 2024 12:16 pm
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [PB6.10beta6] New pop-up menu on Virtual vertical scroll gadget does nothing

We need a small snippet to reproduce, as always Fred!!!! Sorry, here is a code snippet. It all works, except scroll to top and to bottom in the pop-up menu. Procedure global_update_virtual_vertical_scroll_bar_pre() Debug "current position in virtual vertical scroll bar:"+Str(GetGadgetStat...
by marcoagpinto
Wed Feb 28, 2024 11:23 am
Forum: Coding Questions
Topic: [PB 6.10beta6] Window overlaps taskbar on Windows 11
Replies: 5
Views: 261

Re: [PB 6.10beta6] Window overlaps taskbar on Windows 11

Fred wrote: Wed Feb 28, 2024 11:17 am Why opening another topic for the same issue ?
Because I was stressed and didn't quite remember where it was when I created this post.

I am sorry.
by marcoagpinto
Wed Feb 28, 2024 11:09 am
Forum: Bugs - Windows
Topic: [Done] PB6.10beta6 New pop-up menu on Virtual vertical scroll gadget does nothing
Replies: 15
Views: 716

Re: [PB6.10beta6] New pop-up menu on Virtual vertical scroll gadget does nothing

Fred wrote: Wed Feb 28, 2024 11:01 am We need a small snippet to reproduce, as always
Fred, I am stressed, I can't focus on it.

Tonight or tomorrow you will have a snippet.

Thanks!
by marcoagpinto
Wed Feb 28, 2024 11:07 am
Forum: Coding Questions
Topic: [PB 6.10beta6] Window overlaps taskbar on Windows 11
Replies: 5
Views: 261

Re: [PB 6.10beta6] Window overlaps taskbar on Windows 11

Have you tried running my code below? On Windows 10 and later, windows have invisible borders that make it difficult to get the exact size using the usual (simple) ways. https://www.purebasic.fr/english/viewtopic.php?p=615683#p615683 Ahhhhh... I avoid using API as much as possible. I thought that i...