Results 1 to 6 of 6

Thread: Flat button?

  1. #1

    Thread Starter
    Member milad's Avatar
    Join Date
    Oct 2000
    Location
    Sweden
    Posts
    60

    Question

    How can i make flatbuttons with api?
    Milad

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Maybe the best way is by doing something simple. Create some lines (the borders) and add a label. The label is the clickable area.
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  3. #3
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    You don't have to use the API, you could probably make a nice control yourself...

    [Edited by SteveCRM on 11-26-2000 at 11:03 AM]

  4. #4
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Use a Label and set the Borderstyle Property to 1 - Fixed Single and the Appearance Property to 0 - Flat
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    You can download my flatbutton control from my homepage if you want
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6
    Guest
    Easiest way to create a custom button is to use a series of Image Controls. That way, you can draw every frame of the button.

Posting Permissions

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



Click Here to Expand Forum to Full Width