We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threads
#9
LitDev,

I really don't know. Is there any way that you know of that shows if you are running in the UI thread?

This could make a major difference in some programs. Say you have a bunch of events where the code in them is too long. So in the front of these events you put a flag and put the excess code in a subroutine. Then in the main code you put an if statement followed by another flag which says true, followed by a call to the sub routine that has the excess code in it. That way your running in the UI and doing updates as needed. So, it would be great if it actually works that way! That way you don't have to move the excess code. Just make it a subroutine!

JR

PS I hope I didn't confuse anybody.
Reply


Messages In This Thread
Threads - by jrmrhrb00 - 11-24-2024, 10:46 PM
RE: Threads - by z-s - 11-25-2024, 04:29 AM
RE: Threads - by jrmrhrb00 - 11-25-2024, 12:12 PM
RE: Threads - by AbsoluteBeginner - 11-25-2024, 01:28 PM
RE: Threads - by z-s - 11-25-2024, 03:31 PM
RE: Threads - by jrmrhrb00 - 11-25-2024, 08:27 PM
RE: Threads - by AbsoluteBeginner - 11-25-2024, 08:51 PM
RE: Threads - by litdev - 11-25-2024, 09:47 PM
RE: Threads - by jrmrhrb00 - 11-25-2024, 11:32 PM
RE: Threads - by z-s - 11-26-2024, 02:59 AM
RE: Threads - by AbsoluteBeginner - 11-26-2024, 09:05 AM
RE: Threads - by jrmrhrb00 - 11-26-2024, 12:56 PM
RE: Threads - by AbsoluteBeginner - 11-26-2024, 03:23 PM
RE: Threads - by jrmrhrb00 - 11-26-2024, 06:41 PM
RE: Threads - by litdev - 11-26-2024, 08:57 PM
RE: Threads - by jrmrhrb00 - 11-29-2024, 02:00 PM
RE: Threads - by z-s - 11-30-2024, 04:29 PM
RE: Threads - by jrmrhrb00 - 12-01-2024, 12:33 PM
RE: Threads - by z-s - 12-02-2024, 05:02 PM
RE: Threads - by jrmrhrb00 - 12-02-2024, 11:22 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)