EventText$ ( )

Parameters

None.

Description

Returns the text payload of the current GUI event.

A FileDrop event ($404) supplies newline-separated absolute paths; other events normally supply an empty string. Read it before dequeuing the next event.

See it working in the 13_Image_Editor.bb sample, which reads the paths of images dropped on its windows and opens each one.

See also: EnableGadgetFileDrop, EventData, EventSource, WaitEvent.

Index