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
'LDShapes.ShapeEvent' not found.
#2
AB,

Try this snippet! The Ldshapes.SetShapeEvent appears to work.

MyShape=Shapes.AddRectangle(40,40)
LDShapes.SetShapeEvent(MyShape)
LDShapes.ShapeEvent=OnShapeEvent

sub OnShapeEvent
  TextWindow.WriteLine("H")
  EndSub

JR
Reply


Messages In This Thread
RE: 'LDShapes.ShapeEvent' not found. - by jrmrhrb00 - 04-14-2025, 12:58 PM
RE: 'LDShapes.ShapeEvent' not found. - by Scout - 04-14-2025, 02:06 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)