Futurebasic/Language/Reference/get field

GET FIELD

edit

Syntax

edit
GET FIELD ZTXThandle& efID 

Description

edit

Creates a "ZTXT"-formatted block which duplicates the text and style contents of the edit field specified by efID in the current output window. A handle to the block is returned in ZTXThandle&, which must be a long-integer variable or a HANDLE variable. You can save this information to disk (using, for example, the WRITE FIELD statement), or you can copy it to another edit field, using the EDIT FIELD statement or the EDIT$ statement. A "ZTXT" block is formatted as follows:

NOTE IMAGE NEEDS TO BE INSERTED!!!!! <img src="g/get%20field.gif" alt="" height="198" width="546" border="0">

Note:

Your program should dispose of ZTXThandle& (using, for example, the DEF DISPOSEH or KILL FIELD statement) when you're finished using the ZTXT block that the handle refers to.

See Also

edit

EDIT FIELD; EDIT; DEF DISPOSEH; KILL FIELD; WRITE FIELD