Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!relay.nswc.navy.mil!news From: dpaulso@k30b.nswc.navy.mil (Dave Paulson) Newsgroups: comp.sys.next Subject: help with IB and Forms Message-ID: <1991May7.164814.15885@relay.nswc.navy.mil> Date: 7 May 91 16:48:14 GMT Sender: news@relay.nswc.navy.mil (0000-Admin(0000)) Organization: NSWC, Dahlgren, VA Lines: 32 I'm trying to use IB to put together a real simple application, and I seem to be having some trouble getting float values out of my three-celled input form. I'm using code more or less like X=[myForm floatValueAt:i] where X is a float, myForm is the id of the Form object that I dragged in from IB, and i is the integer index of the cell that i'm interested in within the form. Does this look reasonable? If it does, then how about the connections I've established in IB: The input form is connected to a button, which is connected to an object that is a subclass of Object. This object contains the method that gathers the float values from the form, and then writes to an outputForm. The writing step works, but the result is bogus because the reading step is not working. In fact, even [myForm getNumRows:&r numCols:&c] returns bogus values for ints ``r'' and ``c''. Is this a related problem? Thanks in advance for any hints or help! /dave -- Dave Paulson dpaulso@relay.nswc.navy.mil (work) Synetics/NAVSWC talos!SandBox!dave@uunet.uu.net (home,NeXTmail)