Page 2 of 2 FirstFirst 12
Results 26 to 31 of 31

Thread: Make a form with a special shape! Circle etc..

  1. #26
    Join Date
    Feb 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That is...amazing lol forget boxes. Nice find. defintly wanna mess with this a bit...

  2. #27
    Join Date
    Aug 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay,

    So I get the TTimer part but what is the code needed to make the form become invisible then visible. I'm trying to solve that background color to transparent problem.

    EDIT:

    Nvm found an even easier way then Widget's fix. Just put:

    SCAR Code:
    OurForm.visible := false
       sleep(100)
       OurForm.visible := true

    At the bottom of dragform (after the until).

  3. #28
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Can this also be used on Objects, such as TButtons or something?

  4. #29
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ShawnjohnSJ View Post
    Can this also be used on Objects, such as TButtons or something?
    In theory it could, but since the form is the "Background" of a TButton it won't have much effect..
    Verrekte Koekwous

  5. #30
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    sw33t! only thing i dont know is Canvas

    you can make triangles too than
    ?

  6. #31
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    you can make any shape. This would be a lot easier to take advantage of if you made a function have it draw according to points given (they give you (0,3)(45,2)(63,73) and they get a weirded up triangle.)
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •