Search found 12 matches

by Skiller
Fri Mar 01, 2024 10:54 am
Forum: Coding Questions
Topic: How do I get Row and Column Positions within a Editor Gadget
Replies: 15
Views: 4267

Re: How do I get Row and Column Positions within a Editor Gadget

Wow, Wow, ...

; first solution --> bad idea, but works
While WindowEvent() : Wend

... it may not be the best idea, but for me it's the greatest idea. Thanks a lot Axolotl.

And so easy :oops:

So in both cases I didn't need the callback at all. Ok, got it
by Skiller
Thu Feb 29, 2024 4:21 pm
Forum: Coding Questions
Topic: How do I get Row and Column Positions within a Editor Gadget
Replies: 15
Views: 4267

Re: How do I get Row and Column Positions within a Editor Gadget

No problem Axolotl, thanks for your patience.


I haven't quite understood your problem yet.


Ok, I refer again to the first part of the program. If you click in the editbox
and enter text, the Debug output of each letter and line count appears immediately. This means: One letter = one output ...
by Skiller
Thu Feb 29, 2024 12:14 pm
Forum: Coding Questions
Topic: How do I get Row and Column Positions within a Editor Gadget
Replies: 15
Views: 4267

Re: How do I get Row and Column Positions within a Editor Gadget

Hi experts,
I don't want to expand on this now and we can end this thread if you want. Just this much: if you put a delay
in the loop you can see that the content in the editor is only displayed when the sendmessage in the background
is finished. Sorry, I forgot to add the delay. Maybe there is ...
by Skiller
Wed Feb 28, 2024 11:16 am
Forum: Coding Questions
Topic: How do I get Row and Column Positions within a Editor Gadget
Replies: 15
Views: 4267

Re: How do I get Row and Column Positions within a Editor Gadget

... only with CountGadgetItems, the number of lines within the loop is shown but the entries
remain invisible until the end. But I need both!! results within the loop, like Keyboard input ...


EnableExplicit


Define evMask, i


Procedure Callback(hWnd, uMsg, wParam, lParam)
Protected result ...
by Skiller
Wed Feb 28, 2024 10:54 am
Forum: Coding Questions
Topic: How do I get Row and Column Positions within a Editor Gadget
Replies: 15
Views: 4267

Re: How do I get Row and Column Positions within a Editor Gadget

Hi Axolotl,

thanks for your reply. But sorry, that´s not quite what i meant.
Everything works fine. Also the Callback works perfektly, but the only way to get a result is
either to click with the mouse in the editor gadget or to type text into it.
But I would like to achieve the same in the loop ...
by Skiller
Tue Feb 27, 2024 12:56 pm
Forum: Coding Questions
Topic: addgadgetitem
Replies: 5
Views: 1373

Re: addgadgetitem

yes, that´s it. This function was actually the requirement for another code.
This I will cover it in another topic.

Thanks jacdelad,
by Skiller
Tue Feb 27, 2024 12:55 pm
Forum: Coding Questions
Topic: How do I get Row and Column Positions within a Editor Gadget
Replies: 15
Views: 4267

Re: How do I get Row and Column Positions within a Editor Gadget

Hi experts,

Unfortunately I have no experience with "SendMessage_" / API stuff.
But you might be able to help me with this question.

How can I count the lines within the loop "on the fly" without having to click in the editor gadget first?

;Autor: srod
;http://www.purebasic.fr/english/viewtopic ...
by Skiller
Tue Feb 27, 2024 8:17 am
Forum: Coding Questions
Topic: addgadgetitem
Replies: 5
Views: 1373

Re: addgadgetitem

Hi folks,
I would like to write text in a addgadgetitem() like single letters next to each other,
but It always makes line breaks. How is it possible ?

Thx!!

If OpenWindow(0, 0, 0, 250, 200, "Window", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ; | #PB_Window_Invisible)

EditorGadget(1 ...
by Skiller
Sat May 20, 2023 12:38 pm
Forum: Coding Questions
Topic: Libre Office Calc Read & Write
Replies: 6
Views: 1882

Re: Libre Office Calc Read & Write

Hi Nic,
Thx for the link. This seems quite a challenge. So, i guess i found a newer Sample from
collectordave here : http://www.mediafire.com/file/dszofwxlo ... e.zip/file
(Sat Oct 31, 2020 6:39 pm) I think, that will help me as a starterkit to use it with PB.
Thanks to collectordave!!! and thanks ...
by Skiller
Wed Apr 12, 2023 12:11 pm
Forum: Coding Questions
Topic: Libre Office Calc Read & Write
Replies: 6
Views: 1882

Re: Libre Office Calc Read & Write

Let me know if the link has stopped working
Hi, collectordave. Thx for your great work, but is it possible to give access to an alternative link? Instead of : https://www.dropbox.com/s/2jfh2o3kudu3d ... e.zip?dl=0 . Sorry, but I don't use dropbox.

If not, it's ok but ...

... would be great !!!
by Skiller
Mon Feb 18, 2019 4:10 pm
Forum: Game Programming
Topic: OpenGL 3.3 Base (windows)
Replies: 40
Views: 34113

Re: OpenGL 3.3 Base (windows)

Thanks a lot, luis! I really appreciate that and hope everyone who'll ever need this grabs it this instant. :-)
by Skiller
Mon Feb 18, 2019 12:56 pm
Forum: Game Programming
Topic: OpenGL 3.3 Base (windows)
Replies: 40
Views: 34113

Re: OpenGL 3.3 Base (windows)

Hi luis,

unfortunately I missed the brief chance to get a copy of the code including necessaray structures, etc.
Following the OpenGL tutorial recommended in other forum posts (from DarkDragon), I made it all the way through creating VAOs, VBOs, EBOs as well as textures using the afore-mentioned ...