📄 globalsysfunctions.pas
字号:
unit GlobalSysFunctions;
//----------------------------------------------------------------------------------------------------------------------
//
// This file is part of fabFORCE DBDesigner4.
// Copyright (C) 2002 Michael G. Zinner, www.fabFORCE.net
//
// DBDesigner4 is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// DBDesigner4 is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with DBDesigner4; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
//----------------------------------------------------------------------------------------------------------------------
//
// Unit GlobalSysFunctions.pas
// ---------------------------
// Version 1.0, 20.08.2003, Mike
// Description
// Sets the Global Font of the Application
//
// Changes:
// Version 1.0, 20.08.2003, Mike
// initial version
//
//----------------------------------------------------------------------------------------------------------------------
interface
uses QForms,
IniFiles,
SysUtils,
{$IFDEF MSWINDOWS}
Windows, Messages,
ActiveX, ShellAPI, ShlObj, // for SHGetSpecialFolderLocation() und SHGetPathFromIDList()
{$ENDIF}
QGraphics;
procedure LoadApplicationFont;
{$IFDEF MSWINDOWS}
function GetSpecialFolder(Folder: Integer): String;
{$ENDIF}
function GetGlobalSettingsPath: string;
implementation
{$IFDEF MSWINDOWS}
//CSIDL_COOKIES Cookies
//CSIDL_DESKTOPDIRECTORY Desktop
//CSIDL_FAVORITES Favoriten
//CSIDL_HISTORY Internet-Verlauf
//CSIDL_INTERNET_CACHE "Temporary Internet Files"
//CSIDL_PERSONAL Eigene Dateien $0005
//CSIDL_PROGRAMS "Programme" im Startmen
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -