ilyxaaa Posted August 6, 2018 Share Posted August 6, 2018 Добрый вечер. Подскажите пожалуйста как изменить название вкладки в браузере. Выдает New Application Спасибо Quote Link to comment Share on other sites More sharing options...
Tokay Posted August 6, 2018 Share Posted August 6, 2018 TUniServerModule.Title в помощь. Quote Link to comment Share on other sites More sharing options...
ilyxaaa Posted August 7, 2018 Author Share Posted August 7, 2018 Так же еще появился вопрос .Если запускаю на Win7 все работает.Но как переношу на Windows Server 2012, то появляется просто Loading... и все.Может быть кто сталкивался Quote Link to comment Share on other sites More sharing options...
pmalut Posted August 7, 2018 Share Posted August 7, 2018 Скорее всего, чего-то не хватает. Так например бывает, если не установить runtime_unigui на целевой машине Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 7, 2018 Share Posted August 7, 2018 Скорее всего, чего-то не хватает. Так например бывает, если не установить runtime_unigui на целевой машине Да, нужно установить runtime пакет Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 7, 2018 Share Posted August 7, 2018 Добрый вечер, Добрый вечер. Подскажите пожалуйста как изменить название вкладки в браузере. Выдает New Application Спасибо Какое издание и версию UniGUI Вы используете? Quote Link to comment Share on other sites More sharing options...
stas Posted August 7, 2018 Share Posted August 7, 2018 Вообще для этого существует консоль хрома, она ясно и доходчиво объясняет Quote Link to comment Share on other sites More sharing options...
x11 Posted December 2, 2021 Share Posted December 2, 2021 А как сменить название вкладки браузера при загрузке uniMainModule? Это возможно? procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean); begin ... UniServerModule.Title := fFirmaName + constAppNameLocalize; ... ... Но при загрузке приложения в браузер я вижу старое значение, которое указано в Диспетчере свойств (UniServerModule.Title). Можно ли менять имя вкладки браузера и свойство UniServerModule.Title в run-time? Quote Link to comment Share on other sites More sharing options...
x11 Posted December 2, 2021 Share Posted December 2, 2021 справка http://www.unigui.com/doc/online_help/api/uniGUIServer_TUniGUIServerModule_Title.html там написано Quote This property adjusts the title shown in the browser page or tab header title. вот мой код procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin ... ... UniServerModule.Title := 'какое-то название'; но эту надпись я вижу только если подвести мышку к иконке приложения возле часов.... Quote Link to comment Share on other sites More sharing options...
x11 Posted December 2, 2021 Share Posted December 2, 2021 Я так понял, у вас в справке ошибка, т.е. название вкладки находится в uniMainModule, а не в uniServerModule @Sherzod здесь http://www.unigui.com/doc/online_help/api/!!MEMBERTYPE_Properties_uniGUIServer_TUniGUIServerModule.html и здесь http://www.unigui.com/doc/online_help/api/uniGUIServer_TUniGUIServerModule_Title.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.