You've already forked lazarus-ccr
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user