You've already forked lazarus-ccr
Remove auto generated comments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5636 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -36,9 +36,7 @@ type
|
|||||||
FImage: TImage;
|
FImage: TImage;
|
||||||
FJLabel: TJLabel;
|
FJLabel: TJLabel;
|
||||||
//OldBevel: TPanelBevel;
|
//OldBevel: TPanelBevel;
|
||||||
{ Private declarations }
|
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure SetName(const Value: TComponentName); override;
|
procedure SetName(const Value: TComponentName); override;
|
||||||
procedure JLabel1MouseDown(Sender: TObject; Button: TMouseButton;
|
procedure JLabel1MouseDown(Sender: TObject; Button: TMouseButton;
|
||||||
Shift: TShiftState; X, Y: integer);
|
Shift: TShiftState; X, Y: integer);
|
||||||
@ -46,10 +44,8 @@ type
|
|||||||
Shift: TShiftState; X, Y: integer);
|
Shift: TShiftState; X, Y: integer);
|
||||||
procedure JLabel1MouseClick(Sender: TObject);
|
procedure JLabel1MouseClick(Sender: TObject);
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
property LCaption: TJLabel read FJLabel;
|
property LCaption: TJLabel read FJLabel;
|
||||||
property Image: TImage read FImage;
|
property Image: TImage read FImage;
|
||||||
property Align;
|
property Align;
|
||||||
|
@ -42,14 +42,12 @@ type
|
|||||||
procedure SetReadOnly(const AValue: boolean);
|
procedure SetReadOnly(const AValue: boolean);
|
||||||
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure DataChange(Sender: TObject);
|
procedure DataChange(Sender: TObject);
|
||||||
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
||||||
procedure Change; override;
|
procedure Change; override;
|
||||||
procedure DropDown; override;
|
procedure DropDown; override;
|
||||||
procedure UpdateData(Sender: TObject);
|
procedure UpdateData(Sender: TObject);
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
procedure EditingDone; override;
|
procedure EditingDone; override;
|
||||||
@ -57,7 +55,6 @@ type
|
|||||||
property Text;
|
property Text;
|
||||||
property ItemIndex;
|
property ItemIndex;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
property Anchors;
|
property Anchors;
|
||||||
property ArrowKeysTraverseList;
|
property ArrowKeysTraverseList;
|
||||||
property AutoDropDown;
|
property AutoDropDown;
|
||||||
|
@ -61,7 +61,6 @@ type
|
|||||||
|
|
||||||
TJDBGridControl = class(TDBGrid)
|
TJDBGridControl = class(TDBGrid)
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
|
||||||
stringDbGridControl: TJDbGridStringCtrl;
|
stringDbGridControl: TJDbGridStringCtrl;
|
||||||
dateDbGridControl: TJDbGridDateCtrl;
|
dateDbGridControl: TJDbGridDateCtrl;
|
||||||
timeDbGridControl: TJDbGridTimeCtrl;
|
timeDbGridControl: TJDbGridTimeCtrl;
|
||||||
@ -71,7 +70,6 @@ type
|
|||||||
function GetColumns: TJDBGridColumns;
|
function GetColumns: TJDBGridColumns;
|
||||||
procedure SetColumns(AValue: TJDBGridColumns);
|
procedure SetColumns(AValue: TJDBGridColumns);
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
function CreateColumns: TGridColumns; override;
|
function CreateColumns: TGridColumns; override;
|
||||||
function GetDefaultEditor(Column: integer): TWinControl; override;
|
function GetDefaultEditor(Column: integer): TWinControl; override;
|
||||||
procedure UpdateData; override;
|
procedure UpdateData; override;
|
||||||
@ -83,11 +81,9 @@ type
|
|||||||
procedure WMVScroll(var Message: TLMVScroll); message LM_VScroll;
|
procedure WMVScroll(var Message: TLMVScroll); message LM_VScroll;
|
||||||
procedure KeyDown(var Key: word; Shift: TShiftState); override;
|
procedure KeyDown(var Key: word; Shift: TShiftState); override;
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ type
|
|||||||
TJDBImageBlob = class(TCustomImage)
|
TJDBImageBlob = class(TCustomImage)
|
||||||
private
|
private
|
||||||
FAutoDisplay: boolean;
|
FAutoDisplay: boolean;
|
||||||
{ Private declarations }
|
|
||||||
FDataLink: TFieldDataLink;
|
FDataLink: TFieldDataLink;
|
||||||
|
|
||||||
procedure DataChange(Sender: TObject);
|
procedure DataChange(Sender: TObject);
|
||||||
@ -46,17 +45,13 @@ type
|
|||||||
procedure SetDataSource(Value: TDataSource);
|
procedure SetDataSource(Value: TDataSource);
|
||||||
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
||||||
procedure LoadPicture; virtual;
|
procedure LoadPicture; virtual;
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
property Field: TField read GetField;
|
property Field: TField read GetField;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
|
|
||||||
property DataField: string read GetDataField write SetDataField;
|
property DataField: string read GetDataField write SetDataField;
|
||||||
property DataSource: TDataSource read GetDataSource write SetDataSource;
|
property DataSource: TDataSource read GetDataSource write SetDataSource;
|
||||||
property AutoDisplay: boolean read FAutoDisplay write SetAutoDisplay default True;
|
property AutoDisplay: boolean read FAutoDisplay write SetAutoDisplay default True;
|
||||||
@ -194,7 +189,7 @@ constructor TJDBImageBlob.Create(TheOwner: TComponent);
|
|||||||
begin
|
begin
|
||||||
inherited Create(TheOwner);
|
inherited Create(TheOwner);
|
||||||
ControlStyle := ControlStyle + [csReplicatable];
|
ControlStyle := ControlStyle + [csReplicatable];
|
||||||
FAutoDisplay:=True;
|
FAutoDisplay := True;
|
||||||
FDataLink := TFieldDataLink.Create;
|
FDataLink := TFieldDataLink.Create;
|
||||||
FDataLink.Control := Self;
|
FDataLink.Control := Self;
|
||||||
FDataLink.OnDataChange := @DataChange;
|
FDataLink.OnDataChange := @DataChange;
|
||||||
|
@ -31,7 +31,6 @@ type
|
|||||||
|
|
||||||
TJDbLabel = class(TJCustomLabel)
|
TJDbLabel = class(TJCustomLabel)
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
|
||||||
FDataLink: TFieldDataLink;
|
FDataLink: TFieldDataLink;
|
||||||
|
|
||||||
procedure DataChange(Sender: TObject);
|
procedure DataChange(Sender: TObject);
|
||||||
@ -43,16 +42,13 @@ type
|
|||||||
procedure SetDataSource(Value: TDataSource);
|
procedure SetDataSource(Value: TDataSource);
|
||||||
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
||||||
procedure Loaded; override;
|
procedure Loaded; override;
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
property Field: TField read GetField;
|
property Field: TField read GetField;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
property DataField: string read GetDataField write SetDataField;
|
property DataField: string read GetDataField write SetDataField;
|
||||||
property DataSource: TDataSource read GetDataSource write SetDataSource;
|
property DataSource: TDataSource read GetDataSource write SetDataSource;
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ type
|
|||||||
|
|
||||||
TJDBLabeledEdit = class(TCustomLabeledEdit)
|
TJDBLabeledEdit = class(TCustomLabeledEdit)
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
|
||||||
FDataLink: TFieldDataLink;
|
FDataLink: TFieldDataLink;
|
||||||
|
|
||||||
procedure DataChange(Sender: TObject);
|
procedure DataChange(Sender: TObject);
|
||||||
@ -49,7 +48,6 @@ type
|
|||||||
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
procedure CMGetDataLink(var Message: TLMessage); message CM_GETDATALINK;
|
||||||
|
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure Loaded; override;
|
procedure Loaded; override;
|
||||||
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
||||||
procedure ActiveChange(Sender: TObject); virtual;
|
procedure ActiveChange(Sender: TObject); virtual;
|
||||||
@ -59,13 +57,11 @@ type
|
|||||||
function GetReadOnly: boolean; override;
|
function GetReadOnly: boolean; override;
|
||||||
procedure SetReadOnly(Value: boolean); override;
|
procedure SetReadOnly(Value: boolean); override;
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
procedure EditingDone; override;
|
procedure EditingDone; override;
|
||||||
property Field: TField read GetField;
|
property Field: TField read GetField;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
property DataField: string read GetDataField write SetDataField;
|
property DataField: string read GetDataField write SetDataField;
|
||||||
property DataSource: TDataSource read GetDataSource write SetDataSource;
|
property DataSource: TDataSource read GetDataSource write SetDataSource;
|
||||||
property ReadOnly: boolean read GetReadOnly write SetReadOnly default False;
|
property ReadOnly: boolean read GetReadOnly write SetReadOnly default False;
|
||||||
|
@ -11,7 +11,6 @@ uses
|
|||||||
type
|
type
|
||||||
TJDBLabeledTimeEdit = class(TCustomLabeledEdit)
|
TJDBLabeledTimeEdit = class(TCustomLabeledEdit)
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
|
||||||
fFormat: string;
|
fFormat: string;
|
||||||
FDataLink: TFieldDataLink;
|
FDataLink: TFieldDataLink;
|
||||||
|
|
||||||
|
@ -33,16 +33,13 @@ type
|
|||||||
|
|
||||||
TJCustomLabel = class(TCustomLabel)
|
TJCustomLabel = class(TCustomLabel)
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
|
||||||
FLabelStyle: TLabelStyle;
|
FLabelStyle: TLabelStyle;
|
||||||
FShadowColor: TColor;
|
FShadowColor: TColor;
|
||||||
FShadowColor2: TColor;
|
FShadowColor2: TColor;
|
||||||
procedure SetLabelStyle(AValue: TLabelStyle);
|
procedure SetLabelStyle(AValue: TLabelStyle);
|
||||||
procedure SetShadowColor2(AValue: TColor);
|
procedure SetShadowColor2(AValue: TColor);
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure SetShadowColor(Value: TColor);
|
procedure SetShadowColor(Value: TColor);
|
||||||
|
|
||||||
property ShadowColor: TColor read FShadowColor write SetShadowColor;
|
property ShadowColor: TColor read FShadowColor write SetShadowColor;
|
||||||
property ShadowColor2: TColor read FShadowColor2 write SetShadowColor2;
|
property ShadowColor2: TColor read FShadowColor2 write SetShadowColor2;
|
||||||
property LabelStyle: TLabelStyle read FLabelStyle write SetLabelStyle;
|
property LabelStyle: TLabelStyle read FLabelStyle write SetLabelStyle;
|
||||||
@ -88,7 +85,6 @@ type
|
|||||||
property OnStartDrag;
|
property OnStartDrag;
|
||||||
property OptimalFill;
|
property OptimalFill;
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
procedure Paint; override;
|
procedure Paint; override;
|
||||||
end;
|
end;
|
||||||
|
@ -46,7 +46,6 @@ type
|
|||||||
procedure WMSetFocus(var Message: TLMSetFocus); message LM_SETFOCUS;
|
procedure WMSetFocus(var Message: TLMSetFocus); message LM_SETFOCUS;
|
||||||
procedure WMKillFocus(var Message: TLMKillFocus); message LM_KILLFOCUS;
|
procedure WMKillFocus(var Message: TLMKillFocus); message LM_KILLFOCUS;
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure DoEnter; override;
|
procedure DoEnter; override;
|
||||||
procedure DoExit; override;
|
procedure DoExit; override;
|
||||||
procedure KeyDown(var Key: word; Shift: TShiftState); override;
|
procedure KeyDown(var Key: word; Shift: TShiftState); override;
|
||||||
@ -62,11 +61,9 @@ type
|
|||||||
procedure ShowCalendar(Sender: TObject);
|
procedure ShowCalendar(Sender: TObject);
|
||||||
procedure CalendarPopupReturnDate(Sender: TObject; const ADate: TDateTime);
|
procedure CalendarPopupReturnDate(Sender: TObject; const ADate: TDateTime);
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
function isNull: boolean;
|
function isNull: boolean;
|
||||||
property DisplayFormat: string read getFormat write setFormat;
|
property DisplayFormat: string read getFormat write setFormat;
|
||||||
property EditFormat: string read fEFormat write fEFormat;
|
property EditFormat: string read fEFormat write fEFormat;
|
||||||
|
@ -34,7 +34,6 @@ type
|
|||||||
TJLabeledDateTimeEdit = class(TCustomLabeledEdit)
|
TJLabeledDateTimeEdit = class(TCustomLabeledEdit)
|
||||||
private
|
private
|
||||||
fEFormat: string;
|
fEFormat: string;
|
||||||
{ Private declarations }
|
|
||||||
theValue: TDateTime;
|
theValue: TDateTime;
|
||||||
fFormat: string;
|
fFormat: string;
|
||||||
FButton: TSpeedButton;
|
FButton: TSpeedButton;
|
||||||
@ -49,7 +48,6 @@ type
|
|||||||
procedure WMSetFocus(var Message: TLMSetFocus); message LM_SETFOCUS;
|
procedure WMSetFocus(var Message: TLMSetFocus); message LM_SETFOCUS;
|
||||||
procedure WMKillFocus(var Message: TLMKillFocus); message LM_KILLFOCUS;
|
procedure WMKillFocus(var Message: TLMKillFocus); message LM_KILLFOCUS;
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure DoEnter; override;
|
procedure DoEnter; override;
|
||||||
procedure DoExit; override;
|
procedure DoExit; override;
|
||||||
procedure KeyDown(var Key: word; Shift: TShiftState); override;
|
procedure KeyDown(var Key: word; Shift: TShiftState); override;
|
||||||
@ -66,11 +64,9 @@ type
|
|||||||
procedure CalendarPopupReturnDate(Sender: TObject; const ADate: TDateTime);
|
procedure CalendarPopupReturnDate(Sender: TObject; const ADate: TDateTime);
|
||||||
|
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
function isNull: boolean;
|
function isNull: boolean;
|
||||||
property DisplayFormat: string read getFormat write setFormat;
|
property DisplayFormat: string read getFormat write setFormat;
|
||||||
property EditFormat: string read fEFormat write fEFormat;
|
property EditFormat: string read fEFormat write fEFormat;
|
||||||
|
@ -28,7 +28,6 @@ uses
|
|||||||
type
|
type
|
||||||
TJLabeledTimeEdit = class(TCustomLabeledEdit)
|
TJLabeledTimeEdit = class(TCustomLabeledEdit)
|
||||||
private
|
private
|
||||||
{ Private declarations }
|
|
||||||
theValue: TTime;
|
theValue: TTime;
|
||||||
hasValue: boolean;
|
hasValue: boolean;
|
||||||
fFormat: string;
|
fFormat: string;
|
||||||
@ -38,16 +37,13 @@ type
|
|||||||
procedure setValue(const AValue: TTime);
|
procedure setValue(const AValue: TTime);
|
||||||
procedure FormatInput;
|
procedure FormatInput;
|
||||||
protected
|
protected
|
||||||
{ Protected declarations }
|
|
||||||
procedure DoEnter; override;
|
procedure DoEnter; override;
|
||||||
procedure DoExit; override;
|
procedure DoExit; override;
|
||||||
procedure KeyPress(var Key: char); override;
|
procedure KeyPress(var Key: char); override;
|
||||||
public
|
public
|
||||||
{ Public declarations }
|
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
published
|
published
|
||||||
{ Published declarations }
|
|
||||||
function isNull: boolean;
|
function isNull: boolean;
|
||||||
property DisplayFormat: string read getFormat write setFormat;
|
property DisplayFormat: string read getFormat write setFormat;
|
||||||
property Value: TTime read getValue write setValue;
|
property Value: TTime read getValue write setValue;
|
||||||
|
Reference in New Issue
Block a user