ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Jan-Apr/setState:-method-in-Button

This is setState:-method-in-Button in view mode; [Up]


Date: Sun 21-Mar-1989 02:41:57 From: Unknown Subject: setState: method in Button Help!!! I have a few switches whose state can be set by clicking the switch by the mouse *or* can also be set by program control (using the setState: method). All works well, except for those switches whose states are initialized to the ON (checked) state by the program. The check mark fails to appear. The switch's state is on, because buttoning it with the mouse does the "state off" action. After it gets moused, then it works OK. I theorize that the check mark isn't loaded with the switch until the first time it is moused. How can I fix this? I cannot predict which switches will be on and which will be off. Mark Crispin / P.O. Box 2652 / Seattle, WA 98111-2652 / (206) 842-2385 mrc@Tomobiki-Cho.CAC.Washington.EDU / MRC@WSMR-SIMTEL20.Army.Mil 250cc Rebel pilot -- I just wind it up and it goes! kisha no kisha ga kisha de kisha-shita...tabesaserarenakerebanaranakattarashii >From: jami@jolnet.ORPK.IL.US (jami montgomery)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.