Jul 11

Delphi menus always seem to revert to the default font (8, Tahoma) problem,Some users abroad have asked about this,but there is no solution。Currently, the temporary workaround I can think of is to set up a function key (which can be used as a hotkey),so that when users encounter a smaller font,,they can manually reset the font size。(During testing, changing the Windows display scaling percentage can make the menu font revert to the default size)

procedure Tmainform.N93Click(Sender: TObject);
begin
  Screen.MenuFont.Size := 12;
  xxxxxx.BringToFront; // 改變畫面焦點,以刷新選單畫面。
end;

【參考連結】

Jul 11
procedure TfmQAB.FormShortCut(var Msg: TWMKey; var Handled: Boolean);
begin
if (Msg.CharCode = 116)  and (HiWord(GetKeyState(VK_CONTROL)) = 1)  then 
  begin
    ......
  end
end;

【參考連結】

Jul 11
var
  vTime, vTime1, vTime2: double;
begin
  vTime1 := GetTickCount();
  vTime2 := GetTickCount();
  vTime := (vTime2 - vTime1) / 1000;
  Showmessage(floatToStr(vTime) + 's');
end;

【參考連結】

May 9

  先前有寫過一篇「在 Windows 申請 Let’s Encrypt wildcard 憑證」,該篇主要是透過 “Get HTTPS for free!” 網站以動手動方式申請或展延憑證。最近在架新的網站時,試著用 WIN-ACME 工具來申請,以方便之後使用其自動展延 (renewal) 功能。
繼續瀏覽 »

Apr 20

It seems that Joomla, starting from version 2.X and 3.X,,automatically converts email addresses in articles into hyperlink format。Today, when using JavaScript for the email address on a specific page,it resulted in clicking,causing two Outlook windows to pop up,因此需要關閉內建的轉換功能。
繼續瀏覽 »

Apr 15

環境建議:WSUS 主機記憶體建議有 8G 以上。

Q. WSUS 常常或始終跳出連線錯誤,需要重設伺服器節點。
A1. 先試試下面這篇做法,將 WsusPool(IIS) 的「專用記憶體限制」拿掉。
WSUS Reset Server Node | 老森常譚

繼續瀏覽 »

Mar 11

  用 Joomla 4 建置新網站,開啟 SEO 及 URL Rewrite 後,網站就出現問題,一開始 Google 到自己的文章 -「Joomla URL rewrite 404 Unable to display webpage」,主要是因為沒把 httpd.conf 的 AllowOverride 設為 All 導致。但這次設完後,卻變成 403 Forbidden,且是所有頁面都進不去,Whether or not the page URL uses rewrite,After researching for a few hours,Finally found the reason。
繼續瀏覽 »

Dec 29

  陸續有同事反應新電腦的 Excel 日期格式少了「行事曆類型」欄位,因此沒法選擇「中華民國曆」的格式。上網查詢後,有的文章說可以去下載 microsoft-windows-internationalfeatures-taiwan-package 的 cab 檔來安裝,但我實際下載安裝後,The error code 0x800f0818 may appear,It seems to be a version mismatch。

繼續瀏覽 »

Nov 17

On the Joomla 4 test environment,When installing a language,The following error will pop up:

Error connecting to the server: 303

Invalid URL
Unable to find install package.

繼續瀏覽 »

Oct 7

作者:Jiade Masri
出版社:Maple Bookstore
出版日:2019/10/01
個人評比:★★★★★
E-book Link:Readmoo


繼續瀏覽 »