mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:18:09 +02:00
replaced label with memo
git-svn-id: trunk@4436 -
This commit is contained in:
parent
5aa288de16
commit
2dd3a2c7b1
@ -2168,7 +2168,6 @@ begin
|
|||||||
PageIndex:=0;
|
PageIndex:=0;
|
||||||
PopupMenu:=MainPopupMenu;
|
PopupMenu:=MainPopupMenu;
|
||||||
Align:= alClient;
|
Align:= alClient;
|
||||||
Visible:=true;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// property grid
|
// property grid
|
||||||
@ -2188,7 +2187,6 @@ begin
|
|||||||
Align:=alClient;
|
Align:=alClient;
|
||||||
PopupMenu:=MainPopupMenu;
|
PopupMenu:=MainPopupMenu;
|
||||||
OnModified:=@OnGridModified;
|
OnModified:=@OnGridModified;
|
||||||
Visible:=true;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// event grid
|
// event grid
|
||||||
@ -2204,7 +2202,6 @@ begin
|
|||||||
Align:=alClient;
|
Align:=alClient;
|
||||||
PopupMenu:=MainPopupMenu;
|
PopupMenu:=MainPopupMenu;
|
||||||
OnModified:=@OnGridModified;
|
OnModified:=@OnGridModified;
|
||||||
Visible:=true;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
@ -141,11 +141,11 @@ procedure TDebuggerOptionsForm.FetchDebuggerSpecificOptions;
|
|||||||
var
|
var
|
||||||
NewDebuggerType: TDebuggerType;
|
NewDebuggerType: TDebuggerType;
|
||||||
i: Integer;
|
i: Integer;
|
||||||
ALabel: TLabel;
|
AMemo: TMemo;
|
||||||
begin
|
begin
|
||||||
NewDebuggerType:=DebuggerNameToType(cmbDebuggerType.Text);
|
NewDebuggerType:=DebuggerNameToType(cmbDebuggerType.Text);
|
||||||
if NewDebuggerType=FCurDebuggerType then exit;
|
if NewDebuggerType=FCurDebuggerType then exit;
|
||||||
|
|
||||||
// clear debugger specific options components
|
// clear debugger specific options components
|
||||||
if FDebuggerSpecificComponents=nil then
|
if FDebuggerSpecificComponents=nil then
|
||||||
FDebuggerSpecificComponents:=TList.Create;
|
FDebuggerSpecificComponents:=TList.Create;
|
||||||
@ -165,13 +165,14 @@ begin
|
|||||||
|
|
||||||
dtSSHGNUDebugger:
|
dtSSHGNUDebugger:
|
||||||
begin
|
begin
|
||||||
ALabel:=TLabel.Create(Self);
|
AMemo:=TMemo.Create(Self);
|
||||||
FDebuggerSpecificComponents.Add(ALabel);
|
FDebuggerSpecificComponents.Add(AMemo);
|
||||||
with ALabel do begin
|
with AMemo do begin
|
||||||
Name:='DebOptsSpecLabel1';
|
Name:='DebOptsSpecMemo1';
|
||||||
Parent:=gbDebuggerSpecific;
|
Parent:=gbDebuggerSpecific;
|
||||||
SetBounds(10,10,Parent.Width-25,Parent.Height-30);
|
SetBounds(5,5,Parent.Width-15,Parent.Height-35);
|
||||||
WordWrap:=true;
|
WordWrap:=true;
|
||||||
|
ReadOnly:=true;
|
||||||
Caption:='The GNU debugger through ssh allows to remote debug via a ssh'
|
Caption:='The GNU debugger through ssh allows to remote debug via a ssh'
|
||||||
+' connection. See docs/RemoteDebugging.txt for details. The path'
|
+' connection. See docs/RemoteDebugging.txt for details. The path'
|
||||||
+' must contain the ssh client filename, the hostname with an optional'
|
+' must contain the ssh client filename, the hostname with an optional'
|
||||||
|
@ -811,8 +811,8 @@ type
|
|||||||
procedure SetInitialBounds(aLeft, aTop, aWidth, aHeight : integer); virtual;
|
procedure SetInitialBounds(aLeft, aTop, aWidth, aHeight : integer); virtual;
|
||||||
procedure SetBoundsKeepBase(aLeft, aTop, aWidth, aHeight : integer;
|
procedure SetBoundsKeepBase(aLeft, aTop, aWidth, aHeight : integer;
|
||||||
Lock: boolean); virtual;
|
Lock: boolean); virtual;
|
||||||
function GetTextBuf(Buffer: PChar; BufSize: Integer): Integer;
|
function GetTextBuf(Buffer: PChar; BufSize: Integer): Integer; virtual;
|
||||||
Procedure SetTextBuf(Buffer : PChar);
|
Procedure SetTextBuf(Buffer : PChar); virtual;
|
||||||
Function Perform(Msg:Cardinal; WParam , LParam : LongInt): LongInt;
|
Function Perform(Msg:Cardinal; WParam , LParam : LongInt): LongInt;
|
||||||
Function ScreenToClient(const Point : TPoint) : TPoint;
|
Function ScreenToClient(const Point : TPoint) : TPoint;
|
||||||
Function ClientToScreen(const Point : TPoint) : TPoint;
|
Function ClientToScreen(const Point : TPoint) : TPoint;
|
||||||
@ -1092,6 +1092,8 @@ type
|
|||||||
Procedure GetTabOrderList(List : TList);
|
Procedure GetTabOrderList(List : TList);
|
||||||
function HandleAllocated : Boolean;
|
function HandleAllocated : Boolean;
|
||||||
procedure HandleNeeded;
|
procedure HandleNeeded;
|
||||||
|
function GetTextBuf(Buffer: PChar; BufSize: Integer): Integer; override;
|
||||||
|
Procedure SetTextBuf(Buffer : PChar); override;
|
||||||
public
|
public
|
||||||
property BoundsLockCount: integer read FBoundsLockCount;
|
property BoundsLockCount: integer read FBoundsLockCount;
|
||||||
property Brush: TBrush read FBrush;
|
property Brush: TBrush read FBrush;
|
||||||
@ -1630,6 +1632,9 @@ end.
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.138 2003/07/30 13:03:44 mattias
|
||||||
|
replaced label with memo
|
||||||
|
|
||||||
Revision 1.137 2003/07/24 06:54:32 mattias
|
Revision 1.137 2003/07/24 06:54:32 mattias
|
||||||
fixed anti circle mechnism for aligned controls
|
fixed anti circle mechnism for aligned controls
|
||||||
|
|
||||||
|
@ -2701,6 +2701,18 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TWinControl.GetTextBuf(Buffer: PChar; BufSize: Integer): Integer;
|
||||||
|
begin
|
||||||
|
Result:=inherited GetTextBuf(Buffer, BufSize);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TWinControl.SetTextBuf(Buffer: PChar);
|
||||||
|
begin
|
||||||
|
if not HandleAllocated then exit;
|
||||||
|
CNSendMessage(LM_SetLabel, Self, Buffer);
|
||||||
|
inherited SetTextBuf(Buffer);
|
||||||
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
Method: TControl.BeginUpdateBounds
|
Method: TControl.BeginUpdateBounds
|
||||||
Params: None
|
Params: None
|
||||||
@ -2934,6 +2946,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.156 2003/07/30 13:03:44 mattias
|
||||||
|
replaced label with memo
|
||||||
|
|
||||||
Revision 1.155 2003/07/25 08:00:36 mattias
|
Revision 1.155 2003/07/25 08:00:36 mattias
|
||||||
fixed sending follow up move/size messages from gtk
|
fixed sending follow up move/size messages from gtk
|
||||||
|
|
||||||
|
@ -248,8 +248,7 @@ type
|
|||||||
procedure SetStyle(Val : TComboBoxStyle); virtual;
|
procedure SetStyle(Val : TComboBoxStyle); virtual;
|
||||||
procedure KeyDown(var Key : Word; Shift : TShiftState); override;
|
procedure KeyDown(var Key : Word; Shift : TShiftState); override;
|
||||||
|
|
||||||
property DropDownCount: Integer read
|
property DropDownCount: Integer read FDropDownCount write SetDropDownCount default 8;
|
||||||
FDropDownCount write SetDropDownCount default 8;
|
|
||||||
property Items: TStrings read FItems write SetItems;
|
property Items: TStrings read FItems write SetItems;
|
||||||
property ItemHeight: Integer read GetItemHeight write SetItemHeight;
|
property ItemHeight: Integer read GetItemHeight write SetItemHeight;
|
||||||
property ItemIndex: integer read GetItemIndex write SetItemIndex;
|
property ItemIndex: integer read GetItemIndex write SetItemIndex;
|
||||||
@ -1465,6 +1464,9 @@ end.
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.101 2003/07/30 13:03:44 mattias
|
||||||
|
replaced label with memo
|
||||||
|
|
||||||
Revision 1.100 2003/07/07 23:58:43 marc
|
Revision 1.100 2003/07/07 23:58:43 marc
|
||||||
+ Implemented TCheckListBox.Checked[] property
|
+ Implemented TCheckListBox.Checked[] property
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user