sho@gibbs.physics.purdue.edu (Sho Kuwamoto) (05/01/91)
Is the think-c list still active? I haven't gotten anything from them in a while. Could someone send me their address? It's possible that I've unsubscribed and forgotten about it. In either case I have a question about the class library, and any suggestions will save countless hairs from being ripped out of this scalp. *** I have a CEditText inside another enclosure. I move that enclosure using the ChangeSize() method. Everything works roughly right, but I find the text has scrolled to a strange position. I'm not talking about things being scrolled a little oddly. I'm talking about text scrolled completely out of the enclosure. It seems that this doesn't happen for short moves. (<1 line vertically, <? horizontally) I'd almost understand it if the text had stayed put while the CEditText moved above it, but the text moves in an odd, hard-to-describe relationship to the pane. I've looked at the source code for CStaticText, and it's obvious that the author put considerable effort in calculating how the text should be altered in response to a ResizeFrame(). I've tried a couple of things, but I can't seem to find a simple fix, short of completely rewriting large portions of that code. I see roughly three possibilities: * I misunderstand how the CEditText class is supposed to behave. * I am misusing the class somehow. * There is a bug. Anyone else have this problem? Anyone have any suggestions? I'm running Think C 4.0.2. If this is actually a bug, was it fixed in 4.0.4? -Sho -- sho@physics.purdue.edu