You've already forked lazarus-ccr
fpspreadsheet: Put conditional define REGISTER_ALL_FILE_FORMATS around file format registration in fpsvisualreg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
unit fpsvisualreg;
|
unit fpsvisualreg;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$MODE objfpc}{$H+}
|
||||||
|
{$DEFINE REGISTER_ALL_FILE_FORMATS}
|
||||||
|
|
||||||
{$R ../../resource/fpsvisualreg.res}
|
{$R ../../resource/fpsvisualreg.res}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, {%H-}fpsallformats;
|
Classes, SysUtils;
|
||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
|
|
||||||
@@ -15,6 +16,9 @@ implementation
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
LResources, ActnList, PropEdits,
|
LResources, ActnList, PropEdits,
|
||||||
|
{$IFDEF REGISTER_ALL_FILE_FORMATS}
|
||||||
|
fpsallformats,
|
||||||
|
{$ENDIF}
|
||||||
fpspreadsheetctrls, fpspreadsheetgrid, fpspreadsheetchart, fpsactions;
|
fpspreadsheetctrls, fpspreadsheetgrid, fpspreadsheetchart, fpsactions;
|
||||||
|
|
||||||
{@@ ----------------------------------------------------------------------------
|
{@@ ----------------------------------------------------------------------------
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{@@ ----------------------------------------------------------------------------
|
{@@ ----------------------------------------------------------------------------
|
||||||
Unit fpspreadsheetctrls implements some <b>visual controls</b> which help
|
Unit fpspreadsheetctrls implements some **visual controls** which help
|
||||||
to create a spreadsheet application without writing too much code.
|
to create a spreadsheet application without writing too much code.
|
||||||
|
|
||||||
AUTHORS: Werner Pamler
|
AUTHORS: Werner Pamler
|
||||||
@@ -8,21 +8,21 @@
|
|||||||
distribution, for details about the license.
|
distribution, for details about the license.
|
||||||
|
|
||||||
EXAMPLE
|
EXAMPLE
|
||||||
* Add a <i>WorkbookSource</i> component to the form.
|
* Add a _WorkbookSource_ component to the form.
|
||||||
* Add a <i>WorksheetTabControl</i>
|
* Add a _WorksheetTabControl_
|
||||||
* Add a <i>WorksheetGrid</i> (from unit fpspreadsheetgrid)
|
* Add a _WorksheetGrid_ (from unit fpspreadsheetgrid)
|
||||||
* Link their <i>WorkbookSource</i> properties to the added
|
* Link their _WorkbookSource_ properties to the added
|
||||||
<i>WorkbookSource</i> component
|
_WorkbookSource_ component
|
||||||
* Set the property <i>FileName</i> of the </i>WorkbookSource</i> to a
|
* Set the property _FileName_ of the _WorkbookSource_ to a
|
||||||
spreadsheet file.
|
spreadsheet file.
|
||||||
|
|
||||||
As a result, the <i>WorksheetTabControl</i> displays tabs for each worksheet
|
As a result, the _WorksheetTabControl_ displays tabs for each worksheet
|
||||||
in the file, and the <i>WorksheetGrid</i> displays the worksheet according
|
in the file, and the _WorksheetGrid_ displays the worksheet according
|
||||||
to the selected tab.
|
to the selected tab.
|
||||||
-------------------------------------------------------------------------------}
|
-------------------------------------------------------------------------------}
|
||||||
unit fpspreadsheetctrls;
|
unit fpspreadsheetctrls;
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$MODE objfpc}{$H+}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user