Sprite library

Discussion in 'Questions (Windows Mobile)' started by Max Tillberg, Apr 5, 2009.

  1. Max Tillberg

    Max Tillberg Member Licensed User

    Is it possible to hide or move the Sprite library GameWindow?

    Sincerely,
    Max Tillberg
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Yes, with the help of the Door library.
    Main.gamewindow should match the name of your GameWindow object.
    obj is an Object object.
    Code:
    obj.New1(False)
        obj.FromLibrary(
    "Main.gamewindow""_gw", B4PObject(2))
        
        obj.SetProperty(
    "Left"20)
        obj.SetProperty(
    "Top"100)
        obj.SetProperty(
    "Height"50)
        obj.SetProperty(
    "Width"77)
        obj.SetProperty(
    "Visible","false")
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice