Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
blue circle isn't drawing and print isn't working?
#3
(09-20-2024, 10:51 PM)SMcNeill Wrote: This one is simple.  You're using two different variables of the same name and different types.  Tongue

Code: (Select All)
Dim Shared cBlue As _Unsigned Long

In your program, you're using the variable named cBlue...   But you DIM SHARED cBlue~&....   those aren't the same variables.

cBlue defaults to a single.   cBlue~& is an unsigned long.   

singles don't carry blue transparency values, so they get rounded to 0.
Thank you sir. 

For some crazy reason, I was under the impression that once you DIMmed a variable like 
dim x$

anytime you refer to it, the prefix can be left off, ie

x = "hello"

Apparently I was under a delusion. Thanks again for clearing that up, that is probably pretty important to know!
Reply


Messages In This Thread
RE: blue circle isn't drawing and print isn't working? - by madscijr - 09-20-2024, 11:14 PM



Users browsing this thread: 4 Guest(s)