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
LDGraphicsWindow.TransparentGW() only one
#2
Hi,

LDGraphicsWindow.TransparentGW() is called before all GW commands to make the main GW transparent.  I don't think there is a way to make additional GWs transparent.  It doesn't create a new GW, just makes the main one transparent.

LDWindows.Create() creates another GW, I don't think it can be made transparent.

In your code loop i = 1 To 3 - the main window is set as transparent and all the other actions in that loop refer to the main GW (repeated 3 times).  Only after the loop is completed do you call LDWindows.Create() to create a second window.  Subsequent calls to LDGraphicsWindow.TransparentGW()in the loop i = 2,3 do something odd and prevent writing to the main GW.   LDGraphicsWindow.TransparentGW() should only be called once before all GW commands.

You can maybe have a similar effect as a transparent GW if you are setting the background color, by LDGraphicsWindow.Style = 0.
Reply


Messages In This Thread
RE: LDGraphicsWindow.TransparentGW() only one - by litdev - 06-11-2025, 02:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)