greenegitim Posted January 31, 2019 Share Posted January 31, 2019 Merhaba, inidosyamdaki bir değere göre favicon değiştirmek istiyorum delphi içerisinde bunu değiştirebiliyorum fakat aşağıdaki kod ile değiştiremiyorum. procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); var iniFile: TMemInifile; ico_path :string; begin if not FileExists(GET_INI_SETINGS_PATH()) then CreateFirstSetingsFile() else begin iniFile := TMemInifile.Create(GET_INI_SETINGS_PATH(), TEncoding.UTF8); try ico_path :=iniFile.ReadString('AYARLAR','FAVICON_PATH',''); UniServerModule.Favicon.LoadFromFile(ico_path); finally iniFile.Free; end; end; end; Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 26, 2019 Administrators Share Posted March 26, 2019 Merhaba, OnBeforeInit event'i içerisinde dener misiniz? 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.