diff --git a/components/rx/docs/WhatsNew.rus.txt b/components/rx/docs/WhatsNew.rus.txt index ba875592d..a5f2eb0a3 100644 --- a/components/rx/docs/WhatsNew.rus.txt +++ b/components/rx/docs/WhatsNew.rus.txt @@ -59,6 +59,7 @@ - Введдена обработка ситуации востановления состояния RxDBGrid-а, если количество колонок во время востановления меньше, чем было в момент сохранения + Новая компонента TRxAboutDialog - окно для отображения информации о программе (пример смотреть в демке по RxDBGrid-у) + + Добавлена поддержка компиляции под WinCE 22.05.2008 - версия 2.0.0.136 (svn revision 100) + У объекта TRxCustomDBLookupCombo введён контроль на CircularDataLink diff --git a/components/rx/docs/rxfpc.xml b/components/rx/docs/rxfpc.xml index 3f01fdd65..cf5451671 100644 --- a/components/rx/docs/rxfpc.xml +++ b/components/rx/docs/rxfpc.xml @@ -151,6 +151,9 @@

Набор флагов, управлюящих поведением + + + RxDBGrid-а.

@@ -544,6 +547,9 @@

Набор флагов, управлюящих поведением + + + RxDBGrid-а.

@@ -1085,6 +1091,9 @@ TRxDBCalcEdit является наследником TDBCalcEdit и имеет + + + @@ -1126,6 +1135,9 @@ TRxDBCalcEdit является наследником TDBCalcEdit и имеет + + + @@ -2365,6 +2377,9 @@ Description + + + const SearchDomain, FileName: @@ -2377,6 +2392,9 @@ Description + + + String; @@ -2389,6 +2407,9 @@ Description + + + out UserName, DomainName: @@ -2401,6 +2422,9 @@ Description + + + String);

Процедура возвращает имя и домен пользователя операционной системы владельца указанного файла.

@@ -2430,18 +2454,27 @@ Description + + + const DirName: + + + string): + + + string;

Функция проверяет все разделители каталогов в указанном имени файла/каталога и, если нужно, меняет их на значение константыDirectorySeparator.

@@ -2462,6 +2495,9 @@ Description + + + string;

Функция GetUserName возвращает имя оператора, залогиненго в системе

@@ -2558,7 +2594,9 @@ Description + Параметры отображени окна информации о программе +

Параметры отображени окна информации о программе

@@ -2581,7 +2619,14 @@ Description Параметры окна "О программе" - Параметры отображения окна информации о программе + +

Набор флагов, определяющий +параметры отображения окна информации о программе

+
+ + + +
Компонента TRXAboutDialog предназначена для отображения информации о программе. @@ -2599,6 +2644,11 @@ Description Метод отображет окно "О программе" + Параметры окна "О программе" + +

Набор флагов, определяющий +параметры отображения окна информации о программе

+
diff --git a/components/rx/languages/rxconst.es.po b/components/rx/languages/rxconst.es.po index a9573ebf4..a55ba7e6e 100644 --- a/components/rx/languages/rxconst.es.po +++ b/components/rx/languages/rxconst.es.po @@ -17,6 +17,10 @@ msgstr "Botones disponibles" msgid "Browse" msgstr "Vista" +#: rxconst.sbuilddate +msgid "Build date : " +msgstr "" + #: rxconst.sbuttonalign msgid "Button align" msgstr "Alineacin de Botones" diff --git a/components/rx/languages/rxconst.po b/components/rx/languages/rxconst.po index 90030280d..4125e5929 100644 --- a/components/rx/languages/rxconst.po +++ b/components/rx/languages/rxconst.po @@ -17,6 +17,10 @@ msgstr "" msgid "Browse" msgstr "" +#: rxconst.sbuilddate +msgid "Build date : " +msgstr "" + #: rxconst.sbuttonalign msgid "Button align" msgstr "" diff --git a/components/rx/languages/rxconst.ru.po b/components/rx/languages/rxconst.ru.po index 807f52c13..77259c7c6 100644 --- a/components/rx/languages/rxconst.ru.po +++ b/components/rx/languages/rxconst.ru.po @@ -17,6 +17,10 @@ msgstr "Доступные кнопки" msgid "Browse" msgstr "Обзор" +#: rxconst.sbuilddate +msgid "Build date : " +msgstr "Дата сборки : " + #: rxconst.sbuttonalign msgid "Button align" msgstr "Выравнивание кнопок" diff --git a/components/rx/rxaboutformunit.lfm b/components/rx/rxaboutformunit.lfm index a97997921..3b4069453 100644 --- a/components/rx/rxaboutformunit.lfm +++ b/components/rx/rxaboutformunit.lfm @@ -12,16 +12,16 @@ object rxAboutFormForm: TrxAboutFormForm LCLVersion = '0.9.29' object PageControl1: TPageControl Left = 0 - Height = 334 + Height = 332 Top = 0 Width = 498 - ActivePage = TabSheet1 + ActivePage = TabSheet2 Align = alClient - TabIndex = 0 + TabIndex = 1 TabOrder = 0 object TabSheet1: TTabSheet Caption = 'General' - ClientHeight = 303 + ClientHeight = 301 ClientWidth = 494 object lblAppTitle: TLabel AnchorSideLeft.Control = Image1 @@ -69,7 +69,7 @@ object rxAboutFormForm: TrxAboutFormForm end object TabSheet2: TTabSheet Caption = 'Detail' - ClientHeight = 303 + ClientHeight = 301 ClientWidth = 494 object lblBuildDate: TLabel AnchorSideLeft.Control = TabSheet2 @@ -168,11 +168,11 @@ object rxAboutFormForm: TrxAboutFormForm end object TabSheet3: TTabSheet Caption = 'License' - ClientHeight = 303 + ClientHeight = 301 ClientWidth = 494 object Memo1: TMemo Left = 0 - Height = 303 + Height = 301 Top = 0 Width = 494 Align = alClient @@ -185,8 +185,8 @@ object rxAboutFormForm: TrxAboutFormForm end object ButtonPanel1: TButtonPanel Left = 6 - Height = 40 - Top = 340 + Height = 42 + Top = 338 Width = 486 TabOrder = 1 ShowButtons = [pbClose, pbHelp] diff --git a/components/rx/rxaboutformunit.pas b/components/rx/rxaboutformunit.pas index 88354371a..0d0cda604 100644 --- a/components/rx/rxaboutformunit.pas +++ b/components/rx/rxaboutformunit.pas @@ -88,6 +88,7 @@ begin lblFPCVersion.Caption:=sFpcVersion + {$I %FPCVERSION%}; lblTargCPU.Caption:=sTargetCPU + {$I %FPCTARGETCPU%}; lblTargetOS.Caption:=sTargetOS + {$I %FPCTARGETOS%}; + lblBuildDate.Caption:=sBuildDate + {$I %DATE%}; TabSheet1.Caption:=sGeneral; TabSheet2.Caption:=sDetails; TabSheet3.Caption:=sLicense; diff --git a/components/rx/rxconst.pas b/components/rx/rxconst.pas index 014f0f535..ba4e0a17d 100644 --- a/components/rx/rxconst.pas +++ b/components/rx/rxconst.pas @@ -109,6 +109,7 @@ resourcestring sFpcVersion = 'FPC version : '; sTargetCPU = 'Target CPU : '; sTargetOS = 'Target OS : '; + sBuildDate = 'Build date : '; sAbout = 'About'; sGeneral = 'General'; sLicense = 'License'; diff --git a/components/rx/rxfileutils.pas b/components/rx/rxfileutils.pas index 041090a49..cb0260f11 100644 --- a/components/rx/rxfileutils.pas +++ b/components/rx/rxfileutils.pas @@ -50,7 +50,7 @@ uses {$ENDIF} FileUtil; -{$IFDEF WINDOWS} +{$IF DEFINED(WINDOWS) AND NOT DEFINED(WINCE)} function LStrError(const Ernum: Longint; const UseUTF8: Boolean = False): string; const MAX_ERROR = 1024; @@ -139,7 +139,7 @@ function GetFileOwnerUser(const SearchDomain, FileName: String): String; var S:string; begin - {$IFDEF WINDOWS} + {$IF DEFINED(WINDOWS) AND NOT DEFINED(WINCE)} GetFileNameOwner(UTF8ToSys(SearchDomain), UTF8ToSys(FileName), Result, S); Result:=UTF8Encode(Result); {$ELSE} @@ -150,7 +150,7 @@ end; procedure GetFileOwnerData(const SearchDomain, FileName: String; out UserName, DomainName: string); begin - {$IFDEF WINDOWS} + {$IF DEFINED(WINDOWS) AND NOT DEFINED(WINCE)} GetFileNameOwner(UTF8ToSys(SearchDomain), UTF8ToSys(FileName), UserName, DomainName); UserName:=UTF8Encode(UserName); DomainName:=UTF8Encode(DomainName); @@ -172,13 +172,13 @@ begin end; function GetUserName: string; -{$IFDEF WINDOWS} +{$IF DEFINED(WINDOWS) AND NOT DEFINED(WINCE)} var A:array [0..256] of Char; L:DWORD; {$ENDIF} begin - {$IFDEF WINDOWS} + {$IF DEFINED(WINDOWS) AND NOT DEFINED(WINCE)} FillChar(A, SizeOf(A), 0); L:=SizeOf(A)-1; if Windows.GetUserNameA(@A, L) then
Значение