Article View: borland.public.delphi.language.objectpascal
Article #89Re: Speedbutton with drop down list
From: a
Date: Mon, 26 Jan 2004 08:09
Date: Mon, 26 Jan 2004 08:09
29 lines
1459 bytes
1459 bytes
Maria,
1. Place a second (narrow) speed button (with the down arrow
glypth on it) next to your main speed button.
2. Create a popup menu.
3. In the second speed buttons OnClick event:
with SecondButton.ClientToScreen(Point(0,SecondButton.Height) do
MyPopUpMenu.PopUp(X,Y);
Thanks,
Brett
"Maria" <maria@softstuf.com> wrote in message
news:4014a26e@newsgroups.borland.com...
> Hello,
>
> How do you create a speedbutton in a toolbar that has a drop down list.
The
> same as Delphi's open speedbutton.
>
> Thanks for all your help...
>
> Maria
>
>
Technical Details
Message-ID:
<4014cb4b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4014a26e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,6e7e689221496e2b X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2004-01-26 00:39:24 PST From: "a" <blwatters@shaw.ca> Newsgroups: borland.public.delphi.language.objectpascal References: <4014a26e@newsgroups.borland.com> Subject: Re: Speedbutton with drop down list Date: Mon, 26 Jan 2004 00:09:50 -0800 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 NNTP-Posting-Host: 24.68.203.7 Message-ID: <4014cb4b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075104587 24.68.203.7 (26 Jan 2004 00:09:47 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail