You've already forked lazarus-ccr
tvplanit: Cosmetic changes in VpEdFmtLst. Beginning to fix print format designer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4926 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -784,8 +784,8 @@ object MainForm: TMainForm
|
||||
object ImageList1: TImageList
|
||||
Height = 32
|
||||
Width = 32
|
||||
left = 312
|
||||
top = 365
|
||||
left = 560
|
||||
top = 368
|
||||
Bitmap = {
|
||||
4C69090000002000000020000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
|
||||
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
|
||||
@ -1943,10 +1943,14 @@ object MainForm: TMainForm
|
||||
}
|
||||
end
|
||||
object MainMenu1: TMainMenu
|
||||
left = 469
|
||||
top = 221
|
||||
left = 560
|
||||
top = 296
|
||||
object MenuItem1: TMenuItem
|
||||
Caption = 'File'
|
||||
object MnuEditPrintFormats: TMenuItem
|
||||
Caption = 'Edit print formats...'
|
||||
OnClick = MnuEditPrintFormatsClick
|
||||
end
|
||||
object MnuPrintPreview: TMenuItem
|
||||
Caption = 'Print preview...'
|
||||
OnClick = MnuPrintPreviewClick
|
||||
@ -2002,4 +2006,17 @@ object MainForm: TMainForm
|
||||
left = 560
|
||||
top = 192
|
||||
end
|
||||
object VpPrintFormatEditDialog1: TVpPrintFormatEditDialog
|
||||
Version = 'v1.04'
|
||||
DataStore = VpBufDSDataStore1
|
||||
ControlLink = VpControlLink1
|
||||
Options = []
|
||||
Placement.Position = mpCenter
|
||||
Placement.Top = 10
|
||||
Placement.Left = 10
|
||||
Placement.Height = 480
|
||||
Placement.Width = 640
|
||||
left = 712
|
||||
top = 192
|
||||
end
|
||||
end
|
||||
|
@ -23,6 +23,7 @@ TMAINFORM.COMBOBOX1.TEXT=ComboBox1
|
||||
TMAINFORM.CBDRAWINGSTYLE.TEXT=flat
|
||||
TMAINFORM.TITLELBL.CAPTION=TitleLbl
|
||||
TMAINFORM.MENUITEM1.CAPTION=File
|
||||
TMAINFORM.MNUEDITPRINTFORMATS.CAPTION=Edit print formats...
|
||||
TMAINFORM.MNUPRINTPREVIEW.CAPTION=Print preview...
|
||||
TMAINFORM.MENUITEM3.CAPTION=-
|
||||
TMAINFORM.MNUQUIT.CAPTION=Quit
|
||||
|
@ -8,7 +8,7 @@ uses
|
||||
Classes, SysUtils, FileUtil, PrintersDlgs, Forms, Controls, Graphics, Dialogs,
|
||||
ExtCtrls, StdCtrls, ComCtrls, LCLTranslator, Menus, VpBaseDS, VpDayView,
|
||||
VpWeekView, VpTaskList, VpAbout, VpContactGrid, VpMonthView, VpResEditDlg,
|
||||
VpContactButtons, VpBufDS, VpNavBar, VpData, VpPrtPrvDlg, Types;
|
||||
VpContactButtons, VpBufDS, VpNavBar, VpData, VpPrtPrvDlg, VpPrtFmtDlg, Types;
|
||||
|
||||
type
|
||||
|
||||
@ -36,6 +36,7 @@ type
|
||||
LblLanguage: TLabel;
|
||||
LblVisibleDays: TLabel;
|
||||
MenuItem3: TMenuItem;
|
||||
MnuEditPrintFormats: TMenuItem;
|
||||
MnuPrintPreview: TMenuItem;
|
||||
PrintDialog1: TPrintDialog;
|
||||
TitleLbl: TLabel;
|
||||
@ -70,6 +71,7 @@ type
|
||||
VpDayView1: TVpDayView;
|
||||
VpMonthView1: TVpMonthView;
|
||||
VpNavBar1: TVpNavBar;
|
||||
VpPrintFormatEditDialog1: TVpPrintFormatEditDialog;
|
||||
VpPrintPreviewDialog1: TVpPrintPreviewDialog;
|
||||
VpResourceCombo1: TVpResourceCombo;
|
||||
VpResourceEditDialog1: TVpResourceEditDialog;
|
||||
@ -90,6 +92,7 @@ type
|
||||
procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
|
||||
procedure FormCreate(Sender: TObject);
|
||||
procedure MnuAboutClick(Sender: TObject);
|
||||
procedure MnuEditPrintFormatsClick(Sender: TObject);
|
||||
procedure MnuPrintPreviewClick(Sender: TObject);
|
||||
procedure MnuQuitClick(Sender: TObject);
|
||||
procedure MnuResourcesClick(Sender: TObject);
|
||||
@ -354,6 +357,11 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TMainForm.MnuEditPrintFormatsClick(Sender: TObject);
|
||||
begin
|
||||
VpPrintFormatEditDialog1.Execute;
|
||||
end;
|
||||
|
||||
procedure TMainForm.MnuPrintPreviewClick(Sender: TObject);
|
||||
var
|
||||
t1, t2: TDateTime;
|
||||
|
Reference in New Issue
Block a user