Закрытие MapInfo

MapInfo, MapBasic
Ответить
Dartix
Участник
Сообщения: 78
Зарегистрирован: 05 апр 2014, 17:13
Репутация: 5

Закрытие MapInfo

Сообщение Dartix » 24 окт 2018, 20:08

Здравствуйте уважаемые форумчане!

Можно ли с помощью оператора MapBasic завершить работу MapInfo?

asgs1977
Интересующийся
Сообщения: 15
Зарегистрирован: 06 сен 2018, 16:36
Репутация: 2
Откуда: Новосибирск

Re: Закрытие MapInfo

Сообщение asgs1977 » 25 окт 2018, 08:56

Вот что на эту тему пишет справка MapBasic 12:
End MapInfo statement
Purpose
This statement halts MapInfo Professional.

Syntax
End MapInfo [ Interactive ] Description
The End MapInfo statement halts MapInfo Professional.

An application can define a special procedure called EndHandler, which is executed automatically when MapInfo Professional terminates. Accordingly, when an application issues an End MapInfo statement, MapInfo Professional automatically executes any sleeping EndHandler procedures before shutting down. See EndHandler procedure for more information.

If an application issues an End MapInfo statement, and one or more tables have unsaved edits, MapInfo Professional prompts the user to save or discard the table edits.

If you include the Interactive keyword, and if there are unsaved themes or labels, MapInfo Professional prompts the user to save or discard the unsaved work. However, if the user's system is set up so that it automatically saves MAPINFOW.WOR on exit, this prompt does not appear. If you omit the Interactive keyword, this prompt does not appear.

To halt a MapBasic application without exiting MapInfo Professional, use the End Program statement.

Ответить

Вернуться в «MapInfo»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 5 гостей