From: spamminator@spamminator.com   
      
   On Fri, 29 Jun 2007 12:27:37 -0600, Liz McGuire   
    wrote:   
      
   >Ike wrote:   
   >>   
   >>   
   >> But, my problem is when I try to read the help tutorial, I can't even   
   >> find WHERE to put your code, or if it gets attached to an object, etc.   
   >   
   >Go to Tools > Settings > Developer Preferences...; make sure the   
   >ObjectPAL level is set to Advanced and Show developer menus is checked.   
   >   
   >Now go into design mode on your form and select the field object (not   
   >the label, not the editRegion, but the field) and press Ctrl+Spacebar to   
   >open the Object Explorer.   
   >   
   >On the Events tab should be an event named changeValue. Open it up.   
   >Put my code between the pre-existing method..endMethod lines. Check   
   >syntax, edit as needed and run.   
   >   
      
   Liz,   
      
   I put you code in as you said to do and I have it working. I like it!   
   I have noticed that when it replaces a CRLF it replaces it with two   
   spaces, which makes sense because it is two different character   
   values. But, I do not understand why a Tab is replaced with three   
   spaces. Shouldn't it be just one space? I do not see anything in your   
   code that would account for this. From what I see, it should be turned   
   into just one space. Maybe you could enlighten me with why the tab is   
   turned into three spaces? Is this a default of Paradox?   
      
   Actually, my preference is that each bad character is replaced with a   
   null instead of the space. I currently have it doing this so I am a   
   happy camper.   
      
   I plan to study your code further and with a bit of luck, be on my way   
   to write my own OPAL routines.   
      
   I truly appreciate you going far beyond what I expected. Thank you . .   
   . thank you . . . thank you!   
   -Ike   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|