🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Steve Johnson Thu, 29 Oct 1992 22:40
Disabling buttons in PrintPanel?
#61
Author: Steve Johnson
Date: Thu, 29 Oct 1992 22:40
15 lines
1189 bytes
I'm writing an app that opens a PrintPanel.  In the PrintPanel I
would like to disable the Save, Preview, and FAX keys. The problem is
when I do 
	[save setEnabled:NO];
in my method "setButtons," the state returned by isEnabled changes from
1 to 0 before the "runModal" call; however, the button is enabled when the
panel is drawn.  The same is true for the Preview & FAX buttons.  However,
I am able to disable the Cancel button with this method. You might notice
that the Preview app will disable the Preview button.

I'm running NS 2.1. Any ideas are greatly appreciated.

- Steve Johnson, Systems Manager, Dept of Mathematics, Texas A&M University
  Steve.Johnson@math.tamu.edu
  no NeXTmail, please
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads