Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!CS.WM.EDU!csrobe From: csrobe@CS.WM.EDU (Chip Roberson) Newsgroups: comp.sys.atari.st Subject: Re: Argh! MWC Resource & TEDINFO Message-ID: <8909141618.AA25108@cs.wm.edu> Date: 14 Sep 89 16:18:33 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 56 First off, let me thank you for replying to my plea for help. Net-People like you have made the difference between my ST being a real machine or just a piece of hardware! Thanks. In article <8909141428.AA25595@cory.Berkeley.EDU> you write: >Chip, >You have the right idea, Well in one way that's reassuring to me, while disappointing that the solution isn't readily apparent and easy to acquire. >but you need to do the following: > >Buffer the text with blanks equal to the # of "X"'s (which I >assume are ALT-X's), and then place an @ at the start of the Yes, the X's are ALT-X's. There are 20 of them. >buffered text. _You won't be able to see the @ but it's there!_. Ok, I got into WMC's Resource and first typed in 20 spaces, then moved to the first character postion (in front of those 20 spaces) and inserted an @-sign. When I inserted the @, the spaces were no longer visible (just underbars). I saved the new .rsc and decompiled it to look at the components in textual form. The @ + 20 spaces were there, though when it decompiled, all of the CNAMEs for my edit fields had been changed to really helpful names like FTXT_27A! >Ok, the @ ensures you start on the left of the field before >the user enters anything (and it's there, trust me), the blanks >give space for the user to enter something! I loaded the .rsc, that I had just built using Resource, into my program and tried to edit the form. The cursor cursor was at the beginning of the field as you predicted and I could type in 20 characters of text. HOWEVER, the new characters did not replace the underbars but instead merged with them. So I get R's that look like funny B's and A's that look like sick 8's. >Try it, it should work if you do it _exactly_ like that and don't >worry about not being able to see the @, ok? Well, I think I have followed your instructions to the letter (almost literally) and it's almost there, but asthetically unpleasing. Have I missed something? >-- >--Kenneth "kens" Soohoo (soohoo@cory.Berkeley.Edu) > Atari Hacker (Atari's Hacker...) > "It could be worse, you could get hit by a bus..." > My opinions are my OWN, _not_ necessarily Atari's. But "hey", who knows? -c Chip Roberson (csrobe@cs.wm.edu)