Re: An up and down arrow for a button?

Posted by webmaster Guido

In Reply to Re: An up and down arrow for a button? posted by Lee Hallin

: Well, I found a up/down button on the WIN 32 tab. Problem is I don't know how to tell whether UP or DOWN was hit! As far as I could tell, a click or double-click triggers the same "on" event. Thanks.

You can also use two Delphi SpeedButtons, one for UP and one for DOWN (see "Additional" page of the components palette).

For each SpeedButton, click the little button next to property GLYPH in the Object Inspector. Next click LOAD in the dialog that opens. Finally select a "glyph" (image) with an up arrow or a down arrow.

Glyphs are loaded from small .BMP files, usually located in:

Program Files\Common Files\Borland Shared\Images\Buttons

Related Articles and Replies