🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1087

how to set cancel button and help(F1)?

#1087
From: jinxiaojin
Date: Wed, 24 Mar 2004 00:53
6 lines
1189 bytes
As you know,it is simply to set up a default key(reacting to Enter being pressed)  and a cancel key (reacting to ESC being pressed))in dephi.
I know how to set up default button in java,But I do not know how to set up a cancel button and help button(reacting to F1 being pressed) .
I found  Jbuilder's UI can do it.
Somebody can tell me how to do it?
thanks.
Technical Details
Message-ID: <4060dbec$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c8b09f43a01db61d,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-03-23 16:55:17 PST
From: "jinxiaojin" <jinxiaojin@126.com>
Sender: "jinxiaojin" <jinxiaojin@126.com>
Reply-To: "jinxiaojin" <jinxiaojin@126.com>
Subject: how to set cancel button and help(F1)?
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 210.21.227.66     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4060dbec$1@newsgroups.borland.com>
Date: 23 Mar 2004 16:53:00 -0800
X-Trace: newsgroups.borland.com 1080089580 207.105.83.66 (23 Mar 2004 16:53:00 -0800)
Lines: 7
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail