Line Returns in Code 
Author Message
 Line Returns in Code

Does anyone know the code to put a line break in an editfield, in code?


Fri, 17 Jan 2003 03:00:00 GMT  
 Line Returns in Code
Is this what you mean?

EditField1.Text=EditField1.Text+Chr(13) ' 13 is ASCII code for Cartridge
Return

Jeff

Quote:

>Does anyone know the code to put a line break in an editfield, in code?



Fri, 17 Jan 2003 03:00:00 GMT  
 Line Returns in Code

Quote:

> Does anyone know the code to put a line break in an editfield, in code?

Use Chr(13) on the Mac, or Chr(13)+Chr(10) on Windows.

Cheers,
-- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout         Check out the Mac Web Directory:     |

`------------------------------------------------------------------'



Fri, 17 Jan 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. return -code return doesn't play nice with set

2. Counting lines of code in Prolog (source code)

3. line-feed or carriage-return

4. Keycode for A Return/Line Break

5. Removing End of Line and carrige return

6. Line feed & Carriage return ++

7. Line return in a (constant) string

8. Line Break / Feed (Hard Return)

9. Serial Port Carriage return line feed

10. Carriage Return in COBOL Line Sequential File

11. Cariage return line feed

12. Stopping carriage returns in output, overwriting lines....

 

 
Powered by phpBB® Forum Software