fpspreadsheet: Undo prev fix of compilation error because it is fixed in grids.pas now. Update title style of TsWorksheetGrid for Win10.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4653 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
89caeb5de0
commit
2c01d20390
@ -349,7 +349,7 @@ object MainForm: TMainForm
|
||||
CellFormatItem = cfiFontName
|
||||
WorkbookSource = WorkbookSource
|
||||
DropDownCount = 24
|
||||
ItemIndex = 91
|
||||
ItemIndex = 44
|
||||
TabOrder = 0
|
||||
Text = 'Arial'
|
||||
end
|
||||
@ -619,8 +619,9 @@ object MainForm: TMainForm
|
||||
Left = 144
|
||||
Height = 24
|
||||
Top = 0
|
||||
Width = 853
|
||||
Width = 851
|
||||
Align = alClient
|
||||
BorderSpacing.Right = 2
|
||||
BorderSpacing.Bottom = 2
|
||||
TabOrder = 1
|
||||
WantReturns = False
|
||||
|
@ -407,7 +407,7 @@ implementation
|
||||
{$R *.lfm}
|
||||
|
||||
uses
|
||||
LCLIntf, inifiles, uriparser,
|
||||
LCLIntf, inifiles, uriparser, Grids,
|
||||
fpsUtils, fpsCSV,
|
||||
sCSVParamsForm, sCurrencyForm, sFormatSettingsForm, sSortParamsForm,
|
||||
sHyperlinkForm, sNumFormatForm, sSearchForm;
|
||||
@ -732,6 +732,11 @@ begin
|
||||
|
||||
AcFileSaveAs.Dialog.Filter := GetFileFormatFilter('|', ';', faWrite, priorityFormats);
|
||||
FSaveFormats := GetSpreadFormats(faWrite, priorityFormats);
|
||||
|
||||
{$IFDEF WINDOWS}
|
||||
if Win32MajorVersion >= 10 then
|
||||
WorksheetGrid.TitleStyle := tsLazarus;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
{ Event handler for hyperlinks: it only has to provide the hyperlink data
|
||||
|
@ -707,7 +707,7 @@ procedure Register;
|
||||
implementation
|
||||
|
||||
uses
|
||||
Types, LCLType, LCLIntf, LCLProc, LCLVersion, Math, StrUtils,
|
||||
Types, LCLType, LCLIntf, LCLProc, Math, StrUtils,
|
||||
fpCanvas,
|
||||
fpsStrings, fpsUtils, fpsVisualUtils, fpsHTMLUtils,
|
||||
fpsNumFormat;
|
||||
@ -3999,11 +3999,7 @@ begin
|
||||
AutoExpandToRow(grow, aeNavigation);
|
||||
AutoExpandToCol(gcol, aeNavigation);
|
||||
if (grow <> Row) or (gcol <> Col) then
|
||||
{$IF LCL_FULLVERSION < 1070000}
|
||||
MoveExtend(false, gcol, grow);
|
||||
{$ELSE}
|
||||
MoveExtend(false, gcol, grow, true);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
// Abort selection because of an error
|
||||
|
Loading…
Reference in New Issue
Block a user