Maptitude GISDK Help

Close Item

 

A close item is a special type of macro item that is invoked when the user double-clicks on the close box of the toolbox or chooses Close from the toolbox's system menu. The format of a close item definition is:

 

Close do

     <statements go here>

     endItem

 

If Return() is called in the close item of a toolbox, the toolbox closes. If not, the toolbox remains open, even though the user chose Close from the system menu. The close item can be used to verify that the toolbox should close. If there is no close item, the toolbox cannot be closed by choosing Close from the system menu.

 

 

©2025 Caliper Corporation www.caliper.com