Search found 336 matches

by SkyManager
Wed Jul 06, 2022 10:02 am
Forum: Coding Questions
Topic: How to cross-platform select the text of textgadget ?
Replies: 1
Views: 186

How to cross-platform select the text of textgadget ?

Hi all, does anybody know how PB select a portion of textgadget text??
Not only in window but cross-platform.
by SkyManager
Fri Sep 03, 2021 4:11 am
Forum: Feature Requests and Wishlists
Topic: PB on Mac M1 chip?
Replies: 2
Views: 1491

PB on Mac M1 chip?

Can PB compiled mac programme running on Mac M1 chip?
Is PB officially support Mac M1 chip?
by SkyManager
Tue Jan 19, 2021 1:04 am
Forum: Coding Questions
Topic: [SOLVED] How to unzip a zipped file?
Replies: 3
Views: 668

Re: How to unzip a zipped file?

thanks a lot
by SkyManager
Mon Jan 18, 2021 9:35 am
Forum: Coding Questions
Topic: [SOLVED] How to unzip a zipped file?
Replies: 3
Views: 668

[SOLVED] How to unzip a zipped file?

Could anybody provide an example pb how to unzip a zipped file?
I cannot figure out how to use pb UseZipPacker()??????

Regards,
SkyManager
by SkyManager
Wed Apr 29, 2020 10:27 am
Forum: Feature Requests and Wishlists
Topic: Support of ARM CPU
Replies: 60
Views: 22548

Support of ARM CPU

Can PB run on ARM CPU, OS as Linux or Window?
If not, what is the plan (road map) of PB on this platform?
by SkyManager
Wed Aug 07, 2019 10:51 am
Forum: Coding Questions
Topic: [SOLVED] Possible to pass procedure pointer as parameter?
Replies: 3
Views: 1346

[SOLVED] Possible to pass procedure pointer as parameter?

I have a question : Is it possible to pass the pointer of a procedure as a parameter to another function/procedure so that it can be executed? I have tried the following code, it returns only the procedure pointer, not running it! How can I run a procedure after obtaining its pointer Procedure.s tes...
by SkyManager
Wed Aug 07, 2019 9:50 am
Forum: Coding Questions
Topic: [SOLVED] Error in catching image
Replies: 5
Views: 1297

Re: Error in catching image

Thanks a lot.
I confuse about the handle and image id
by SkyManager
Wed Aug 07, 2019 3:41 am
Forum: Coding Questions
Topic: [SOLVED] Error in catching image
Replies: 5
Views: 1297

[SOLVED] Error in catching image

I have tested the following codes in PB 5.7 (Windows 10, 64 bits) DataSection Config: IncludeBinary "A:/config.bmp" EndDataSection Global IconCfg = CatchImage(100, ?Config) Debug "IconCfg = " + Str(IconCfg) Global ImgCfg = ImageID(IconCfg) ;<------- Error reports Error reports fo...
by SkyManager
Tue Aug 06, 2019 9:16 am
Forum: Coding Questions
Topic: [SOLVED] How to check if gadget is visible or not?
Replies: 2
Views: 1079

[SOLVED] How to check if gadget is visible or not?

Hi, does anybody know how to check if a gadget is visible or not?
by SkyManager
Fri Apr 26, 2019 2:56 am
Forum: Coding Questions
Topic: Control left click
Replies: 7
Views: 1935

Re: Control left click

hi TI-994A,

Is your suggestion for Window only?
by SkyManager
Sat Apr 20, 2019 9:10 pm
Forum: Coding Questions
Topic: Control left click
Replies: 7
Views: 1935

Re: Control left click

Thanks for the reply.

Obviously Canvas has a #PB_Canvas_Keyboard control that allows us to do that.

But I cannot find any #PB_Keyboard for StringGadget.

Can StringGadget do similar action?!
by SkyManager
Sat Apr 20, 2019 7:27 am
Forum: Coding Questions
Topic: Control left click
Replies: 7
Views: 1935

Control left click

Could PB capture mouse with keyboard combination?
Such as mouse left click with control key pressing down.
Any PB example?
by SkyManager
Thu Apr 18, 2019 8:07 am
Forum: Coding Questions
Topic: [Solved] how to capture the canvas gadget Lost Focus event
Replies: 2
Views: 957

[Solved] how to capture the canvas gadget Lost Focus event

Could anybody help? I cannot capture the canvas gadget Lost Focus event! OpenWindow(0, 500, 0, 50, 25, "test") CanvasGadget(1, 0, 0, 25, 25) WinQuit = #False Repeat Select WaitWindowEvent() Case #PB_Event_Gadget If EventGadget() = 1 If EventType() = #PB_EventType_LostFocus Debug "Lost...