info(“toolbarvisible”)

The info(“toolbarvisible”) function returns true if the current window has a visible tool bar.


Description

This function returns true if the current window has a visible tool bar.

This procedure checks to see if the current window has a toolbar. If so, it simply deletes the current record. If there is no tool bar it asks for confirmation before deleting the record.

if not info("toolbarvisible")
    alertnoyes "Are you sure you want to delete?"
     if info("dialogtrigger") contains "no" rtn endif
endif
deleterecord

See Also


History

VersionStatusNotes
10.0NewNew in this version.