Solved

taking out the edges of a speedbutton

Posted on 2000-03-01
5
341 Views
Last Modified: 2010-04-04
I'm using a group of speedbuttons and i want the selected button to stay FLAT even on its selected state (down = true).  Is there a way to take out the edges of the speedbutton (highlight and shadow) whatever its state may be?  
0
Comment
Question by:chel
  • 4
5 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 2574931
Hi
i dont think this is possible without re-writing the speedbutton.
maybe better look at www.torry.ru etc for a different button that already has no bevels/edges..you could use panels but not very resouce friendly .
0
 
LVL 17

Expert Comment

by:inthe
ID: 2574957
ahh i find one that does this:
it is called bi_lib and has a few different neat components of which one called  BI_Button is same as speed button and when set to flat it takes away the borders/edges,it also comes with source if you want to see how they do it :

http://www.torry.webnorth.com/vcl/packs/bi_lib.zip

more info:
TBI_Button: An IE / Office 97 button, with accelerator char support, dropdown menus, grayed glyphs etc.
TBI_PlasmaButton: like TBI_Button, but filled with a plasma fractal.
TBI_GradientButton: like TBI_Button, but with a gradient inside. On 256 color systems, the gradient can either be painted dithered or be disabled.
TBI_ImageButton: like TBI_Button, but with 3 images for up state, mouseover state and down state. Images can be transparent.
TBI_TorryButton: a button like on Torry's Delphi Pages :-)
TWebgauge: A gauge with a "waiting" state like in Navigator 4.0
TBI_loupe: A loupe component that shows a magnified view of everything beneath the mouse cursor.
TBI_Memo: A bitmap filled memo! Supports Office 97-like flat border.
TBI_Edit: like TBI_Memo, but replaces TEdit.
TCaptionButton: A button for the title bar! With glyph support, hints etc.
plus: TBI_Arrow, TBI_Bevel and more....
0
 

Author Comment

by:chel
ID: 2575006
I'll just have to see the components first before i award the points. thanks anyway.  I'll give you the points as soon as i find that the component works
0
 
LVL 17

Expert Comment

by:inthe
ID: 2575885
ok no probs.
0
 
LVL 17

Accepted Solution

by:
inthe earned 70 total points
ID: 2631511
have you tried them yet ?

the component does just what you ask .

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question