Search found 1020 matches

by Caronte3D
Thu May 04, 2023 6:34 pm
Forum: Coding Questions
Topic: Sticky gadget
Replies: 6
Views: 392

Re: Sticky gadget

I often put the gadget I want to be top most inside a container and create it the last one, but the solutions from Rashad & Mesa are very good :wink:
by Caronte3D
Mon May 01, 2023 11:32 am
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 634

Re: Using the TMDB API and the Wikipedia API

1. What is the most straightford way to handle data in PB just use the Pirebasi Database? 2. I am looking at adding saving of images and text data soon and want to know what different options I have? Save the images seperatley to the main file or in it? 1. I think the native PureBasic SQLite 2. Sav...
by Caronte3D
Sun Apr 30, 2023 9:58 pm
Forum: Tricks 'n' Tips
Topic: Set and Get Clipboard Files (Windows, MacOS)
Replies: 9
Views: 752

Re: Set and Get Clipboard Files (Windows, MacOS)

Oh! Yea! Sorry, my mistake. Works nice! :D
by Caronte3D
Sun Apr 30, 2023 8:41 pm
Forum: Tricks 'n' Tips
Topic: Set and Get Clipboard Files (Windows, MacOS)
Replies: 9
Views: 752

Re: Set and Get Clipboard Files (Windows, MacOS)

That is correct, but pasting in the "Finder" with fileURL's in the clipboard works correctly. The Finder then copies these files. In your app you also only get the fileURLs. What you do with them is up to you ;) But... If I was copy a file from my program to the clipboard, I expect to be ...
by Caronte3D
Sun Apr 30, 2023 7:01 pm
Forum: Tricks 'n' Tips
Topic: Set and Get Clipboard Files (Windows, MacOS)
Replies: 9
Views: 752

Re: Set and Get Clipboard Files (Windows, MacOS)

Kwai chang caine wrote: Sun Apr 30, 2023 6:46 pm Appaently your nice code only copy the path, not the object here
Because if i right clic, i not have PASTE in the pop menu
Ups! That's true :?
by Caronte3D
Sun Apr 30, 2023 4:33 pm
Forum: Bugs - 3D Engine
Topic: PB6.02 beta2; wrong result moving Node #PB_Absolute|#PB_World
Replies: 7
Views: 960

Re: PB6.02 beta2; wrong result moving Node #PB_Absolute|#PB_World

Yes, seems the flag: #PB_Absolute does nothing :?
by Caronte3D
Sat Apr 29, 2023 10:13 am
Forum: Coding Questions
Topic: Window not responding after a few seconds
Replies: 14
Views: 612

Re: Window not responding after a few seconds

If while in the For a message like mouse click, resizewindow, etc... comes, that message is skiped because you don't process it inside the for loop.
by Caronte3D
Sat Apr 29, 2023 9:55 am
Forum: Coding Questions
Topic: Window not responding after a few seconds
Replies: 14
Views: 612

Re: Window not responding after a few seconds

I don't think hangs the event loop with a very time consuming is good idea at all, on this case a thread is a must to prevent the app hang.
Anyway each programmer knows what want to do with her program.
by Caronte3D
Sat Apr 29, 2023 8:56 am
Forum: Bugs - 3D Engine
Topic: [Done] CreateCubicTexture() reaches address 0
Replies: 7
Views: 1138

Re: [Done] CreateCubicTexture() reaches address 0

I never had this problem, but it's good to know, thanks! :D
by Caronte3D
Sat Apr 29, 2023 8:51 am
Forum: Coding Questions
Topic: Window not responding after a few seconds
Replies: 14
Views: 612

Re: Window not responding after a few seconds

I think is better not use more than a WindowEvent() function, because you can lost other messages while in the "For" loop And if you need a very acurate constant speed of refresh, is better to use a Thread (less precission: Timer or a timeSetEvent_). If OpenWindow(0, 0, 0, 300, 100, "...
by Caronte3D
Sat Apr 29, 2023 8:29 am
Forum: Bugs - 3D Engine
Topic: [Done] CreateCubicTexture() reaches address 0
Replies: 7
Views: 1138

Re: [Done] CreateCubicTexture() reaches address 0

Psychophanta wrote: Sat Apr 29, 2023 6:59 am It works replacing InitEngine3D()
by
InitEngine3D(#PB_Engine3D_NoLog,#PB_Compiler_Home+"Compilers\Engine3d.dll")

Anyway, looks like it rotates much faster than expected.
On my case It works as is, with InitEngine3D() without parameters
by Caronte3D
Fri Apr 28, 2023 9:52 am
Forum: Bugs - 3D Engine
Topic: [Done] CreateCubicTexture() reaches address 0
Replies: 7
Views: 1138

Re: CreateCubicTexture() reaches address 0

Win10Pro, PB 6.02b2 works as espected :wink:
by Caronte3D
Thu Apr 27, 2023 9:53 am
Forum: Coding Questions
Topic: Font rendering?
Replies: 15
Views: 949

Re: Font rendering?

Yeah! I think the fact is web browsers have a much better font rendering.
Maybe you can try x4, but If there's not enough I think you have to live with it.