Creating a button like IE's Go
Posted on 2003-02-25
I'm using Delphi 4 Pro. I would like to create a button similar to the Go button in IE (the button that appears to the right of the address combo box). The button needs to have these properties:
* Consist of both a glyph and text.
* There should be no border shown, except for when the mouse pointer is moved over the button.
* When the mouse pointer is moved over the button, the glyph should change from grey (default state) to colour (hot state).
* The button must *not* be part of a TToolbar. I intend to place the button either directly on a form or on a TCoolBar.
I've tried using TButton, TBitBtn and TSpeedButton, however none seem to be able to do all of the above.
Can a button with the above properties be created in Delphi 4 Pro? Do later versions of Delphi (such as Delphi 7 Pro) have any enhanced button components for doing the above?
Thanks in Advance,