Futurebasic/Language/Reference/get field

From Wikibooks, open books for an open world
Jump to navigation Jump to search

GET FIELD[edit | edit source]

Syntax[edit | edit source]

GET FIELD ZTXThandle& efID 

Description[edit | edit source]

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 source]

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