🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #354

Using a PushButton to execute a Command

#354
From: Daniel E. Vallone
Date: Fri, 17 Apr 1992 16:50
13 lines
742 bytes
Hello,

I would like to make a quit button that will call QuitCmd::Execute()
when its pushed.  I haven't found any examples of Commands being
Executed by PushButtons.

About all I have to go on now is the Menu class.  It does everything
I want, except look like a PushButton.

Any help is greatly appreciated!

-Dan
Technical Details
Message-ID: <9204171650.AA02464@shady.grail.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!shady.grail.com!vallone

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!shady.grail.com!vallone
From: vallone@shady.grail.com (Daniel E. Vallone)
Subject: Using a PushButton to execute a Command
Message-ID: <9204171650.AA02464@shady.grail.com>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 17 Apr 1992 16:50:24 GMT
Lines: 13