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; 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now