Search found 88 matches

by Thumper
Thu Jul 24, 2025 4:07 am
Forum: General Discussion
Topic: Variable Viewer, view passed pointed structure
Replies: 11
Views: 410

Re: Variable Viewer, view passed pointed structure

Well, the Variable Viewer does show structures for local variables. It just seems that it cannot when the passed parameter points to a structure. It would be helpful but the workaround to create a local variable just before the error is still a means.

Still, I've used the --debugger a few times and ...
by Thumper
Tue Jul 22, 2025 11:11 pm
Forum: General Discussion
Topic: Variable Viewer, view passed pointed structure
Replies: 11
Views: 410

Re: Variable Viewer, view passed pointed structure

Oh, and I do not use the PureBasic text editor. Let's just say that I have a well established workflow and am compiling from batch files.
by Thumper
Tue Jul 22, 2025 11:09 pm
Forum: General Discussion
Topic: Variable Viewer, view passed pointed structure
Replies: 11
Views: 410

Re: Variable Viewer, view passed pointed structure

I've distilled a real program to the essence below. Setting standardFont to 0 deliberately causes an error. What I'm showing is that cannot how to see how to get the variable viewer to show structure contents. Nothing serious. It will show other variables just fine. My solution has been to assign a ...
by Thumper
Tue Jul 22, 2025 9:58 pm
Forum: General Discussion
Topic: Variable Viewer, view passed pointed structure
Replies: 11
Views: 410

Re: Variable Viewer, view passed pointed structure

I am on an extended phone call that will probably last at least another hour and will write something after the call.
by Thumper
Tue Jul 22, 2025 9:42 pm
Forum: General Discussion
Topic: Variable Viewer, view passed pointed structure
Replies: 11
Views: 410

Re: Variable Viewer, view passed pointed structure

Well, I've been told that my messages were too long so I posted only what is needed. Also, I don't see the source code. I've got something else. Give me a few hours to write something and make a screen shot.
by Thumper
Tue Jul 22, 2025 4:10 pm
Forum: General Discussion
Topic: Variable Viewer, view passed pointed structure
Replies: 11
Views: 410

Variable Viewer, view passed pointed structure

Well, that's the best way I can describe it. I've been trying out the debugger and hit a bump trying to view passed pointed structure.

I call my button draw routines with drawNormalButton ( @wPlayer01 \ audioPause )
which is procedure drawNormalButton ( *thebutton._gadgetExt )
if startDrawing ...
by Thumper
Sat Apr 12, 2025 7:29 pm
Forum: Coding Questions
Topic: Layering controls on top of each other
Replies: 4
Views: 1119

Re: Layering controls on top of each other

I wasn't having a problem with drawing it. It was just the control under another (the canvas under the scroll area) was getting the events, not the controls on/within the scroll area. If I eliminated the canvas in the background, everything worked.

RASHAD provided the ultimate clue: Why didn't I ...
by Thumper
Sat Apr 12, 2025 6:15 am
Forum: Coding Questions
Topic: Layering controls on top of each other
Replies: 4
Views: 1119

Layering controls on top of each other

First, I'm working Windows only if this matters.

Where I am is that I've got one scrollAreaGadget for each of five tabs. Clicking on a tab hides all but the selected scrollAreaGadget. Okay, so far so good. Controls inside each scrollAreaGadget work fine, including clickable canvas controls that I'm ...
by Thumper
Thu Jan 02, 2025 6:34 am
Forum: Coding Questions
Topic: Curiosity: rules for spaces around \ in vars with structures
Replies: 0
Views: 8335

Curiosity: rules for spaces around \ in vars with structures

Not a real problem here as this is so easily solved but has me curious what the rules are.

I have something like "scriptDetails \ oneTouch04" and I like to surrounding symbols with spaces for readability. This usually is fine but there are times it requires removing the spaces to make it "script ...
by Thumper
Thu Dec 26, 2024 6:02 am
Forum: Coding Questions
Topic: When moving a window, should events stop?
Replies: 10
Views: 1383

Re: When moving a window, should events stop?

Never thought it was a bug. Each language is just different. I've just not encountered it in my other programs in inevitably, they are structured differently. I'm trying to keep this one as pure to PureBasic as I can. In fact, the rewrite of a decently sized program (was 360k lines) is progressing ...
by Thumper
Thu Dec 26, 2024 4:41 am
Forum: Coding Questions
Topic: When moving a window, should events stop?
Replies: 10
Views: 1383

Re: When moving a window, should events stop?

I have a previous version of this program in PowerBasic and did put the communications in a thread. It's been working great for about 15 years. Probably was going to resort to that in PureBasic.

Have you noticed other instances that will cause the loop to hang ? Of course, aside from routines that ...
by Thumper
Thu Dec 26, 2024 3:11 am
Forum: Coding Questions
Topic: When moving a window, should events stop?
Replies: 10
Views: 1383

Re: When moving a window, should events stop?

Interesting idea. It mostly solves something like that (that it still sometimes stutters a bit after releasing the mouse button) but I was hoping my resize routine to show the results during the resizing. (BTW, I won't get getting into the resizer for another few though.)

Are there any other ...
by Thumper
Thu Dec 26, 2024 1:30 am
Forum: Coding Questions
Topic: When moving a window, should events stop?
Replies: 10
Views: 1383

When moving a window, should events stop?

I have noticed several times that events stop in my event loop while a window move is in progress. My programs are (often) communications intensive and with relatively crude devices and can cause dropped data.

This little tester will will demonstrate it. Move that window around and note str ...
by Thumper
Mon Dec 23, 2024 5:57 am
Forum: Coding Questions
Topic: Clear/erase arrays/structures
Replies: 6
Views: 857

Re: Clear/erase arrays/structures


ResetStructure() - clears a structured memory area and initialize it to be ready to use.


It was to find that one! Your link wasn't working (could be my ISP) but it gave me the keyword "compiler functions".

ResetStructure looks good for the non-array variables. Arrays looks to be better wiped ...
by Thumper
Sun Dec 22, 2024 10:28 pm
Forum: Coding Questions
Topic: Clear/erase arrays/structures
Replies: 6
Views: 857

Re: Clear/erase arrays/structures

[I have had to type this several times... the forum asks me to re-login, even after only a few minutes...]

Okay, I had not considered that as something about it does not seem quite right. Perhaps some historical limitation lingers in my mind.

Being that I need to dim the array first for the ...