powered by simpleCommunicator - 2.0.59     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / объект gnv_app
2 сообщений из 2, страница 1 из 1
объект gnv_app
    #32723772
sokol_
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
zdrasti.
mozet kto dast ssilochku gde pochitat pro "объект gnv_app"? ili v dvux slovax raskazet chto eto takoe :)
spasibo.
...
Рейтинг: 0 / 0
объект gnv_app
    #32723903
Фотография PL99
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
RTFM
PowerBuilder Foundation Class Library (PFC)Description

N_cst_appmanager is the application manager and functions as a substitute for the Application object. It contains many useful functions as well as reference variables for application services.


PowerBuilder Foundation Class Library (PFC)Usage To use n_cst_appmanager:

1 (Optional) Access the extension-level n_cst_appmanager user object and create a descendant application manager.
2 Define a global variable, gnv_app, of type n_cst_appmanager (or your customized descendant).

n_cst_appmanager gnv_app

3 Add PowerScript code to your application's Open event to create an instance of n_cst_appmanager and call the pfc_Open event, passing the commandline argument:

gnv_app = CREATE n_cst_appmanager

gnv_app.Event pfc_Open(commandline)

4 Add PowerScript code to the Constructor event to selectively enable application services:

Preference service—of_SetAppPreference
Debug service—of_SetDebug
DataWindow caching service—of_SetDwCache
Most recently used object service—of_SetMRU
Error handling service—of_SetError
Transaction registration service—of_SetTrRegistration
Security service—of_SetSecurity

5 Add PowerScript code to the pfc_Open event to open the initial window.
6 Add code to the Constructor event in n_cst_appmanager (or your customized descendant) to initialize instance variables for version, company, and INI file.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / объект gnv_app
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]