RxFPC: fix compile after last commit

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5451 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75 2016-12-08 13:54:00 +00:00
parent 078466b678
commit 17b82f66f4
12 changed files with 192 additions and 125 deletions

View File

@ -245,6 +245,10 @@ msgstr "Menu panel herramienta"
msgid "Transparent"
msgstr "Transparente"
#: rxconst.svariableisnotstring
msgid "Variable %s is not string"
msgstr ""
#: rxconst.svisiblebuttons
msgid "Visible buttons"
msgstr "Botones visibles"

View File

@ -241,6 +241,10 @@ msgstr ""
msgid "Transparent"
msgstr ""
#: rxconst.svariableisnotstring
msgid "Variable %s is not string"
msgstr ""
#: rxconst.svisiblebuttons
msgid "Visible buttons"
msgstr ""

View File

@ -241,6 +241,10 @@ msgstr "Настройка панели инструментов"
msgid "Transparent"
msgstr "Прозрачно"
#: rxconst.svariableisnotstring
msgid "Variable %s is not string"
msgstr ""
#: rxconst.svisiblebuttons
msgid "Visible buttons"
msgstr "Отображаемые кнопки"

View File

@ -258,6 +258,10 @@ msgstr "Налаштування панелі інструментів"
msgid "Transparent"
msgstr "Прозоро"
#: rxconst.svariableisnotstring
msgid "Variable %s is not string"
msgstr ""
#: rxconst.svisiblebuttons
msgid "Visible buttons"
msgstr "Видимі кнопки"

View File

@ -126,6 +126,7 @@ type
end;
implementation
uses rxconst;
{ TConfigValuesEnumerator }
@ -370,7 +371,7 @@ begin
if FDataType = cvtString then
Result:=FValue
else
raise Exception.CreateFmt('Variable %s is not string', [FName]);
raise Exception.CreateFmt(sVariableIsNotString, [FName]);
end;
procedure TConfigValue.SetAsBoolean(const AValue: boolean);
@ -440,7 +441,7 @@ begin
end
end
else
raise Exception.CreateFmt('Variable %s is not string', [FName]);
raise Exception.CreateFmt(sVariableIsNotString, [FName]);
end;
constructor TConfigValue.Create;

View File

@ -35,29 +35,10 @@ interface
{$I RX.INC}
uses LMessages, Controls;
const
RX_VERSION = $0002004B; { 2.75 }
const
{ Command message for Speedbar editor }
CM_SPEEDBARCHANGED = CM_BASE + 80;
{ Command message for TRxSpeedButton }
CM_RXBUTTONPRESSED = CM_BASE + 81;
{ Command messages for TRxWindowHook }
CM_RECREATEWINDOW = CM_BASE + 82;
CM_DESTROYHOOK = CM_BASE + 83;
{ Notify message for TRxTrayIcon }
CM_TRAYICON = CM_BASE + 84;
const
crHand = TCursor(14000);
crDragHand = TCursor(14001);
//const
//{ TBitmap.GetTransparentColor from GRAPHICS.PAS uses this value }
// PaletteMask = $02000000;
resourcestring
sBrowse = 'Browse';
@ -139,6 +120,9 @@ resourcestring
{ TFolderLister }
sFolderListerErr = '%s. Not assigned property MenuItem';
{ TConfigValues }
sVariableIsNotString = 'Variable %s is not string';
implementation
end.

View File

@ -0,0 +1,61 @@
{ rxlclconst unit
Copyright (C) 2005-2016 Lagunov Aleksey alexs75@yandex.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version with the following modification:
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent modules,and
to copy and distribute the resulting executable under terms of your choice,
provided that you also meet, for each linked independent module, the terms
and conditions of the license of that module. An independent module is a
module which is not derived from or based on this library. If you modify
this library, you may extend this exception to your version of the library,
but you are not obligated to do so. If you do not wish to do so, delete this
exception statement from your version.
This program 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 Library General Public License
for more details.
You should have received a copy of the GNU Library General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
}
unit rxlclconst;
interface
{$I RX.INC}
uses LMessages, Controls;
const
{ Command message for Speedbar editor }
CM_SPEEDBARCHANGED = CM_BASE + 80;
{ Command message for TRxSpeedButton }
CM_RXBUTTONPRESSED = CM_BASE + 81;
{ Command messages for TRxWindowHook }
CM_RECREATEWINDOW = CM_BASE + 82;
CM_DESTROYHOOK = CM_BASE + 83;
{ Notify message for TRxTrayIcon }
CM_TRAYICON = CM_BASE + 84;
{
const
crHand = TCursor(14000);
crDragHand = TCursor(14001);
}
//const
//{ TBitmap.GetTransparentColor from GRAPHICS.PAS uses this value }
// PaletteMask = $02000000;
implementation
end.

View File

@ -411,12 +411,12 @@ begin
with AppIcon do
begin
OnDblClick := @DoIconDblClick;
Cursor := crHand;
Cursor := crHandPoint;
end;
with KeyImage do
begin
OnDblClick := @DoIconDblClick;
Cursor := crHand;
Cursor := crHandPoint;
end;
end;
PasswordEdit.MaxLength := FMaxPasswordLen;

View File

@ -107,200 +107,200 @@ translate to Lazarus by alexs in 2005 - 2016
<UnitName Value="rxclock"/>
</Item19>
<Item20>
<Filename Value="rxconst.pas"/>
<UnitName Value="rxconst"/>
</Item20>
<Item21>
<Filename Value="rxctrls.pas"/>
<UnitName Value="rxctrls"/>
</Item21>
<Item22>
</Item20>
<Item21>
<Filename Value="rxdbcolorbox.pas"/>
<UnitName Value="RxDBColorBox"/>
</Item22>
<Item23>
</Item21>
<Item22>
<Filename Value="rxdbcomb.pas"/>
<UnitName Value="rxdbcomb"/>
</Item23>
<Item24>
</Item22>
<Item23>
<Filename Value="rxdbctrls.pas"/>
<UnitName Value="RxDBCtrls"/>
</Item24>
<Item25>
</Item23>
<Item24>
<Filename Value="rxdbgrid.pas"/>
<UnitName Value="rxdbgrid"/>
</Item25>
<Item26>
</Item24>
<Item25>
<Filename Value="rxdbgrid_columsunit.pas"/>
<UnitName Value="rxdbgrid_columsunit"/>
</Item26>
<Item27>
</Item25>
<Item26>
<Filename Value="rxdbgrid_findunit.pas"/>
<UnitName Value="rxdbgrid_findunit"/>
</Item27>
<Item28>
</Item26>
<Item27>
<Filename Value="rxdbspinedit.pas"/>
<UnitName Value="RxDBSpinEdit"/>
</Item28>
<Item29>
</Item27>
<Item28>
<Filename Value="rxdbtimeedit.pas"/>
<UnitName Value="RxDBTimeEdit"/>
</Item29>
<Item30>
</Item28>
<Item29>
<Filename Value="rxdconst.pas"/>
<UnitName Value="rxdconst"/>
</Item30>
<Item31>
</Item29>
<Item30>
<Filename Value="rxdice.pas"/>
<UnitName Value="rxdice"/>
</Item31>
<Item32>
</Item30>
<Item31>
<Filename Value="rxfilterby.pas"/>
<UnitName Value="rxfilterby"/>
</Item32>
<Item33>
</Item31>
<Item32>
<Filename Value="rxiconv.pas"/>
<UnitName Value="rxiconv"/>
</Item33>
<Item34>
</Item32>
<Item33>
<Filename Value="rxlogin.pas"/>
<UnitName Value="rxlogin"/>
</Item34>
<Item35>
</Item33>
<Item34>
<Filename Value="rxlookup.pas"/>
<UnitName Value="rxlookup"/>
</Item35>
<Item36>
</Item34>
<Item35>
<Filename Value="rxmemds.pas"/>
<UnitName Value="rxmemds"/>
</Item36>
<Item37>
</Item35>
<Item36>
<Filename Value="rxpopupunit.pas"/>
<UnitName Value="rxpopupunit"/>
</Item37>
<Item38>
</Item36>
<Item37>
<Filename Value="rxsortmemds.pas"/>
<UnitName Value="rxsortmemds"/>
</Item38>
<Item39>
</Item37>
<Item38>
<Filename Value="rxspin.pas"/>
<UnitName Value="rxspin"/>
</Item39>
<Item40>
</Item38>
<Item39>
<Filename Value="rxswitch.pas"/>
<UnitName Value="rxswitch"/>
</Item40>
<Item41>
</Item39>
<Item40>
<Filename Value="rxsystemservices.pas"/>
<UnitName Value="RxSystemServices"/>
</Item41>
<Item42>
</Item40>
<Item41>
<Filename Value="rxtbrsetup.pas"/>
<UnitName Value="rxtbrsetup"/>
</Item42>
<Item43>
</Item41>
<Item42>
<Filename Value="rxtimeedit.pas"/>
<UnitName Value="RxTimeEdit"/>
</Item43>
<Item44>
</Item42>
<Item43>
<Filename Value="rxtoolbar.pas"/>
<UnitName Value="rxtoolbar"/>
</Item44>
<Item45>
</Item43>
<Item44>
<Filename Value="rxversinfo.pas"/>
<UnitName Value="RxVersInfo"/>
</Item45>
<Item46>
</Item44>
<Item45>
<Filename Value="rxviewspanel.pas"/>
<UnitName Value="RxViewsPanel"/>
</Item46>
<Item47>
</Item45>
<Item46>
<Filename Value="rxseldsfrm.pas"/>
<UnitName Value="rxseldsfrm"/>
</Item47>
<Item48>
</Item46>
<Item47>
<Filename Value="rxtooledit.pas"/>
<UnitName Value="rxtooledit"/>
</Item48>
<Item49>
</Item47>
<Item48>
<Filename Value="rxvclutils.pas"/>
<UnitName Value="rxvclutils"/>
</Item49>
<Item50>
</Item48>
<Item49>
<Filename Value="rxcloseformvalidator.pas"/>
<UnitName Value="RxCloseFormValidator"/>
</Item50>
<Item51>
</Item49>
<Item50>
<Filename Value="rxhistorynavigator.pas"/>
<UnitName Value="RxHistoryNavigator"/>
</Item51>
<Item52>
</Item50>
<Item51>
<Filename Value="ex_rx_bin_datapacket.pas"/>
<UnitName Value="ex_rx_bin_datapacket"/>
</Item52>
<Item53>
</Item51>
<Item52>
<Filename Value="ex_rx_datapacket.pas"/>
<UnitName Value="ex_rx_datapacket"/>
</Item53>
<Item54>
</Item52>
<Item53>
<Filename Value="ex_rx_xml_datapacket.pas"/>
<UnitName Value="ex_rx_xml_datapacket"/>
</Item54>
<Item55>
</Item53>
<Item54>
<Filename Value="rxsortby.lfm"/>
<Type Value="LFM"/>
</Item55>
<Item56>
</Item54>
<Item55>
<Filename Value="rxsortby.pas"/>
<UnitName Value="rxsortby"/>
</Item56>
<Item57>
</Item55>
<Item56>
<Filename Value="rxmdi.pas"/>
<UnitName Value="RxMDI"/>
</Item57>
<Item58>
</Item56>
<Item57>
<Filename Value="rxinipropstorage.pas"/>
<UnitName Value="RxIniPropStorage"/>
</Item58>
<Item59>
</Item57>
<Item58>
<Filename Value="rx_lcl.res"/>
<Type Value="Binary"/>
</Item59>
<Item60>
</Item58>
<Item59>
<Filename Value="rxdaterangeeditunit.pas"/>
<UnitName Value="rxDateRangeEditUnit"/>
</Item60>
<Item61>
</Item59>
<Item60>
<Filename Value="rxdbgridfootertools.pas"/>
<UnitName Value="RxDBGridFooterTools"/>
</Item61>
<Item62>
</Item60>
<Item61>
<Filename Value="rxdbgridfootertools_setup.lfm"/>
<Type Value="LFM"/>
</Item62>
<Item63>
</Item61>
<Item62>
<Filename Value="rxdbgridfootertools_setup.pas"/>
<UnitName Value="rxdbgridfootertools_setup"/>
</Item63>
<Item64>
</Item62>
<Item63>
<Filename Value="rxshortcutunit.lfm"/>
<Type Value="LFM"/>
</Item64>
<Item65>
</Item63>
<Item64>
<Filename Value="rxshortcutunit.pas"/>
<UnitName Value="rxShortCutUnit"/>
</Item65>
<Item66>
</Item64>
<Item65>
<Filename Value="rxdbgridexportpdf.pas"/>
<UnitName Value="RxDBGridExportPdf"/>
</Item66>
<Item67>
</Item65>
<Item66>
<Filename Value="rxdbgridexportpdfsetupunit.lfm"/>
<Type Value="LFM"/>
</Item67>
<Item68>
</Item66>
<Item67>
<Filename Value="rxdbgridexportpdfsetupunit.pas"/>
<UnitName Value="RxDBGridExportPdfSetupUnit"/>
</Item67>
<Item68>
<Filename Value="rxlclconst.pas"/>
<UnitName Value="rxlclconst"/>
</Item68>
</Files>
<LazDoc Paths="docs;\usr\local\share\lazarus\components\rxnew\docs"/>

View File

@ -11,7 +11,7 @@ uses
RxAutoPanel, rxboxprocs, rxcurredit, rxdbcurredit, rxdbdateedit, rxdbutils,
rxduallist, rxfduallst, rxfolderlister, rxpagemngr, rxpickdate, registerrx,
RegisterRxDB, RegisterRxTools, RxAboutDialog, rxAboutFormUnit, rxapputils,
rxclock, rxconst, rxctrls, RxDBColorBox, rxdbcomb, RxDBCtrls, rxdbgrid,
rxclock, rxctrls, RxDBColorBox, rxdbcomb, RxDBCtrls, rxdbgrid,
rxdbgrid_columsunit, rxdbgrid_findunit, RxDBSpinEdit, RxDBTimeEdit,
rxdconst, rxdice, rxfilterby, rxiconv, rxlogin, rxlookup, rxmemds,
rxpopupunit, rxsortmemds, rxspin, rxswitch, RxSystemServices, rxtbrsetup,
@ -19,7 +19,7 @@ uses
rxvclutils, RxCloseFormValidator, RxHistoryNavigator, ex_rx_bin_datapacket,
ex_rx_datapacket, ex_rx_xml_datapacket, rxsortby, RxMDI, RxIniPropStorage,
rxDateRangeEditUnit, RxDBGridFooterTools, rxdbgridfootertools_setup,
rxShortCutUnit, RxDBGridExportPdf, RxDBGridExportPdfSetupUnit,
rxShortCutUnit, RxDBGridExportPdf, RxDBGridExportPdfSetupUnit, rxlclconst,
LazarusPackageIntf;
implementation

View File

@ -15,7 +15,7 @@
"/>
<License Value="LGPL"/>
<Version Minor="1" Build="2"/>
<Files Count="4">
<Files Count="5">
<Item1>
<Filename Value="rxconfigvalues.pas"/>
<UnitName Value="rxConfigValues"/>
@ -32,6 +32,10 @@
<Filename Value="rxfileutils.pas"/>
<UnitName Value="rxFileUtils"/>
</Item4>
<Item5>
<Filename Value="rxconst.pas"/>
<UnitName Value="rxconst"/>
</Item5>
</Files>
<LazDoc Paths="docs;/usr/local/share/lazarus/components/rxnew/docs"/>
<RequiredPkgs Count="1">

View File

@ -8,7 +8,8 @@ unit rxtools;
interface
uses
rxConfigValues, rxstrutils, rxdateutil, rxFileUtils, LazarusPackageIntf;
rxConfigValues, rxstrutils, rxdateutil, rxFileUtils, rxconst,
LazarusPackageIntf;
implementation