Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!apple!agate!garnet.berkeley.edu!fjlim From: fjlim@garnet.berkeley.edu Newsgroups: comp.sys.mac.programmer Subject: Re: TCL CGridSelector probs Keywords: TCL Message-ID: <1990Sep13.074126.4593@agate.berkeley.edu> Date: 13 Sep 90 07:41:26 GMT References: <1990Sep12.075139.14931@dircon.uucp> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: University of California, Berkeley Lines: 15 The CGridSelector class does not scroll properly. The problem is that the drawing code assumes that the top left corner of the grid is always at (0,0), which is not the case if you scroll down or to the right. I have not had time to correct this problem. With just a quick look, one obvious bug is in the DrawGrid() method. Lines are always drawn starting at (0,0). The lines need to be drawn starting at frame.left and frame.top and ending at right and bottom edges of the table. I'm not sure what is causing you to scroll by two. Sorry to post this to the entire newsgroup, but I don't know a valid Internet address to reach dircon.uucp. -- Greg