Search found 832 matches

by marcoagpinto
Tue Apr 09, 2024 4:34 am
Forum: Coding Questions
Topic: What variable type is "?" for CatchImage?
Replies: 7
Views: 307

Re: What variable type is "?" for CatchImage?

Okay, guys, thanks! I no longer need to create the procedure since the catch image command should always work, so I created a procedure only for the error message: ; Display a requester with an error message. ; ; To clean up the code ; ; V1.0 - 07/APR/2024 ; Procedure MessageRequesterError(MARCOAGPI...
by marcoagpinto
Sun Apr 07, 2024 6:44 am
Forum: Coding Questions
Topic: What variable type is "?" for CatchImage?
Replies: 7
Views: 307

Re: What variable type is "?" for CatchImage?

Well, I give up, I tried and it didn't work. Thanks for helping. CatchImageEnhanced(#GLOBAL_IMAGE_POPUP_EDIT,?popup_edit,"Can't load image.") Procedure CatchImageEnhanced(MARCOAGPINTO_gadget,?MARCOAGPINTO_label,MARCOAGPINTO_error_message$) If CatchImage(MARCOAGPINTO_gadget,?MARCOAGPINTO_la...
by marcoagpinto
Sun Apr 07, 2024 1:10 am
Forum: Coding Questions
Topic: What variable type is "?" for CatchImage?
Replies: 7
Views: 307

Re: What variable type is "?" for CatchImage?

Kiffi wrote: Sun Apr 07, 2024 1:07 am
CatchImage() wrote:
Note: The "?" is a pointer to a label.
Heya, is there a way to use it in the parameters of a Procedure?
by marcoagpinto
Sun Apr 07, 2024 12:59 am
Forum: Coding Questions
Topic: What variable type is "?" for CatchImage?
Replies: 7
Views: 307

What variable type is "?" for CatchImage?

Heya, I want to create a Procedure CatchImageEnhanced(gadget,?,error_message$). What type of variable is the "?" ? ; Pop-up menus If CatchImage(#GLOBAL_IMAGE_POPUP_EDIT,?popup_edit)=#False : MessageRequester("Error", "Can't load image.",#PB_MessageRequester_Error) : End...
by marcoagpinto
Mon Apr 01, 2024 4:54 am
Forum: Off Topic
Topic: Happy Birthday, Fred!
Replies: 17
Views: 575

Happy Birthday, Fred!

It is Fred's birthday!

Happy Birthday, dear Fred!

Have a splendid day ahead!

Kind regards from the cola demon,
>Marco A.G.Pinto
--------------------
by marcoagpinto
Thu Mar 28, 2024 10:18 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40157

Re: PureBasic 6.10 LTS is out !

Thanks, Fred and Team!
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: 128

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: 128

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: 325
Views: 40157

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: 309

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: 325
Views: 40157

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: 325
Views: 40157

Re: PureBasic 6.10 beta 7 is out !

Thanks, Fred!
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: 270

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:07 am
Forum: Coding Questions
Topic: [PB 6.10beta6] Window overlaps taskbar on Windows 11
Replies: 5
Views: 270

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...
by marcoagpinto
Wed Feb 28, 2024 4:24 am
Forum: Coding Questions
Topic: [PB 6.10beta6] Window overlaps taskbar on Windows 11
Replies: 5
Views: 270

[PB 6.10beta6] Window overlaps taskbar on Windows 11

Heya, it is not the first time I have written about this, but this time I opened the ticket in this part of the forum so that users don't complain that 99% of my bug reports are silly. Try the following code on Windows 11: ; Get maximum width possible for a window If OpenWindow(3000,0,0,10,10,"...