FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

TEXT

Get the number of lines in an Edit Field


The Mac does that for ya. There is an item in the TextEdit record which already indicates the number of lines in the edit field.

TEHndl&=TEHANDLE(theFld)
numLines% = TEHndl&..teNLines%

Rick