mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:39:23 +02:00
enable tabstops for controls; implement tabstops in win32 intf
git-svn-id: trunk@5082 -
This commit is contained in:
parent
1ac23788c3
commit
80997fee5d
@ -94,7 +94,7 @@ type
|
|||||||
property Cancel : Boolean read FCancel write FCancel default False;
|
property Cancel : Boolean read FCancel write FCancel default False;
|
||||||
property Caption;
|
property Caption;
|
||||||
property Font;
|
property Font;
|
||||||
property TabStop;
|
property TabStop default true;
|
||||||
property TabOrder;
|
property TabOrder;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
property ShowHint;
|
property ShowHint;
|
||||||
@ -306,6 +306,9 @@ end.
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.54 2004/01/21 10:19:15 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.53 2003/11/15 13:07:09 mattias
|
Revision 1.53 2003/11/15 13:07:09 mattias
|
||||||
added ambigious unit check for IDE
|
added ambigious unit check for IDE
|
||||||
|
|
||||||
|
@ -542,6 +542,8 @@ type
|
|||||||
procedure BeginUpdate;
|
procedure BeginUpdate;
|
||||||
procedure EndUpdate;
|
procedure EndUpdate;
|
||||||
property Selected: TListItem read GetSelection write SetSelection;
|
property Selected: TListItem read GetSelection write SetSelection;
|
||||||
|
published
|
||||||
|
property TabStop default true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -1785,6 +1787,8 @@ type
|
|||||||
property SeparatorColor: TColor read fSeparatorColor write SetSeparatorColor default clGray;
|
property SeparatorColor: TColor read fSeparatorColor write SetSeparatorColor default clGray;
|
||||||
property TopItem: TTreeNode read GetTopItem write SetTopItem;
|
property TopItem: TTreeNode read GetTopItem write SetTopItem;
|
||||||
property TreeLineColor: TColor read FTreeLineColor write FTreeLineColor default clWindowFrame;
|
property TreeLineColor: TColor read FTreeLineColor write FTreeLineColor default clWindowFrame;
|
||||||
|
published
|
||||||
|
property TabStop default true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -1966,6 +1970,9 @@ end.
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.103 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.102 2004/01/12 13:43:12 mattias
|
Revision 1.102 2004/01/12 13:43:12 mattias
|
||||||
improved and activated new statusbar
|
improved and activated new statusbar
|
||||||
|
|
||||||
|
@ -199,6 +199,8 @@ type
|
|||||||
property OnCloseTabClicked: TNotifyEvent
|
property OnCloseTabClicked: TNotifyEvent
|
||||||
read FOnCloseTabClicked write FOnCloseTabClicked;
|
read FOnCloseTabClicked write FOnCloseTabClicked;
|
||||||
property Options: TNoteBookOptions read FOptions write SetOptions;
|
property Options: TNoteBookOptions read FOptions write SetOptions;
|
||||||
|
published
|
||||||
|
property TabStop default true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -836,6 +838,9 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.90 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.89 2004/01/10 22:34:20 mattias
|
Revision 1.89 2004/01/10 22:34:20 mattias
|
||||||
started double buffering for gtk intf
|
started double buffering for gtk intf
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ begin
|
|||||||
{set the component style to csButton}
|
{set the component style to csButton}
|
||||||
fCompStyle := csButton;
|
fCompStyle := csButton;
|
||||||
ControlStyle:=ControlStyle-[csClickEvents];
|
ControlStyle:=ControlStyle-[csClickEvents];
|
||||||
|
TabStop := true;
|
||||||
{set default alignment}
|
{set default alignment}
|
||||||
Align := alNone;
|
Align := alNone;
|
||||||
{setup default sizes}
|
{setup default sizes}
|
||||||
@ -165,6 +166,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.16 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.15 2003/11/15 13:07:09 mattias
|
Revision 1.15 2003/11/15 13:07:09 mattias
|
||||||
added ambigious unit check for IDE
|
added ambigious unit check for IDE
|
||||||
|
|
||||||
|
@ -86,7 +86,8 @@ begin
|
|||||||
fCompStyle := csCheckbox;
|
fCompStyle := csCheckbox;
|
||||||
FState := cbUnchecked;
|
FState := cbUnchecked;
|
||||||
FAllowGrayed := True;
|
FAllowGrayed := True;
|
||||||
Height:=20;
|
TabStop := true;
|
||||||
|
Height := 20;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
@ -194,6 +195,9 @@ end;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.15 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.14 2003/09/16 11:35:14 mattias
|
Revision 1.14 2003/09/16 11:35:14 mattias
|
||||||
started TDBCheckBox
|
started TDBCheckBox
|
||||||
|
|
||||||
|
@ -571,6 +571,7 @@ begin
|
|||||||
FCanvas := TControlCanvas.Create;
|
FCanvas := TControlCanvas.Create;
|
||||||
TControlCanvas(FCanvas).Control := Self;
|
TControlCanvas(FCanvas).Control := Self;
|
||||||
ArrowKeysTraverseList := True;
|
ArrowKeysTraverseList := True;
|
||||||
|
TabStop := true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
@ -798,6 +799,9 @@ end;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.34 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.33 2003/10/16 23:54:27 marc
|
Revision 1.33 2003/10/16 23:54:27 marc
|
||||||
Implemented new gtk keyevent handling
|
Implemented new gtk keyevent handling
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ begin
|
|||||||
FCompStyle := csEdit;
|
FCompStyle := csEdit;
|
||||||
FMaxLength:= -1;
|
FMaxLength:= -1;
|
||||||
ParentColor := false;
|
ParentColor := false;
|
||||||
|
TabStop := true;
|
||||||
SetInitialBounds(0,0,80,23);
|
SetInitialBounds(0,0,80,23);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -355,6 +356,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.20 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.19 2003/11/01 18:58:15 mattias
|
Revision 1.19 2003/11/01 18:58:15 mattias
|
||||||
added clipboard support for TCustomEdit from Colin
|
added clipboard support for TCustomEdit from Colin
|
||||||
|
|
||||||
|
@ -387,6 +387,7 @@ begin
|
|||||||
FCanvas := TControlCanvas.Create;
|
FCanvas := TControlCanvas.Create;
|
||||||
TControlCanvas(FCanvas).Control := Self;
|
TControlCanvas(FCanvas).Control := Self;
|
||||||
ParentColor := false;
|
ParentColor := false;
|
||||||
|
TabStop := true;
|
||||||
SetInitialBounds(0, 0, 100, 80);
|
SetInitialBounds(0, 0, 100, 80);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ begin
|
|||||||
FImageChangeLink := TChangeLink.Create;
|
FImageChangeLink := TChangeLink.Create;
|
||||||
FImageChangeLink.OnChange := @ImageChanged;
|
FImageChangeLink.OnChange := @ImageChanged;
|
||||||
FSelected := nil;
|
FSelected := nil;
|
||||||
|
TabStop := true;
|
||||||
Setbounds(2,2,100,90);
|
Setbounds(2,2,100,90);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -557,6 +558,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.27 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.26 2003/02/28 15:49:43 mattias
|
Revision 1.26 2003/02/28 15:49:43 mattias
|
||||||
fixed initial size
|
fixed initial size
|
||||||
|
|
||||||
|
@ -323,7 +323,9 @@ begin
|
|||||||
fAccess := TNBPages.Create(fPageList, Self);
|
fAccess := TNBPages.Create(fPageList, Self);
|
||||||
fPageIndex := -1;
|
fPageIndex := -1;
|
||||||
|
|
||||||
|
ControlStyle := [csAcceptsControls];
|
||||||
TabPosition := tpTop;
|
TabPosition := tpTop;
|
||||||
|
TabStop := true;
|
||||||
ShowTabs := True;
|
ShowTabs := True;
|
||||||
SetInitialBounds(0,0,200,200);
|
SetInitialBounds(0,0,200,200);
|
||||||
end;
|
end;
|
||||||
@ -785,6 +787,9 @@ end;}
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.41 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.40 2003/12/23 18:15:37 mattias
|
Revision 1.40 2003/12/23 18:15:37 mattias
|
||||||
fixed TNoteBook.OnPageChanged for user PageIndex
|
fixed TNoteBook.OnPageChanged for user PageIndex
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ begin
|
|||||||
FShowScale := false;
|
FShowScale := false;
|
||||||
FScalePos := trTop;
|
FScalePos := trTop;
|
||||||
FScaleDigits := 0;
|
FScaleDigits := 0;
|
||||||
|
TabStop := true;
|
||||||
SetInitialBounds(0,0,100,20);
|
SetInitialBounds(0,0,100,20);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -381,6 +382,9 @@ end;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.7 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.6 2003/06/13 21:13:20 mattias
|
Revision 1.6 2003/06/13 21:13:20 mattias
|
||||||
fixed TTrackBar initial size
|
fixed TTrackBar initial size
|
||||||
|
|
||||||
|
@ -1128,16 +1128,32 @@ Procedure TWin32Object.HandleEvents;
|
|||||||
var
|
var
|
||||||
AMessage: TMsg;
|
AMessage: TMsg;
|
||||||
AccelTable: HACCEL;
|
AccelTable: HACCEL;
|
||||||
|
|
||||||
|
function HandleDialogMessage: Boolean;
|
||||||
|
var
|
||||||
|
TopParent, TmpParent: HWnd;
|
||||||
|
begin
|
||||||
|
TmpParent := AMessage.HWnd;
|
||||||
|
repeat
|
||||||
|
TopParent := TmpParent;
|
||||||
|
TmpParent := Windows.GetParent(TmpParent);
|
||||||
|
until TmpParent = HWND(nil);
|
||||||
|
Result := Windows.IsDialogMessage(TopParent, @AMessage);
|
||||||
|
end;
|
||||||
|
|
||||||
Begin
|
Begin
|
||||||
While PeekMessage(AMessage, HWnd(Nil), 0, 0,PM_REMOVE) Do
|
While PeekMessage(AMessage, HWnd(Nil), 0, 0,PM_REMOVE) Do
|
||||||
Begin
|
Begin
|
||||||
AccelTable := HACCEL(Windows.GetProp(AMessage.HWnd, 'Accel'));
|
AccelTable := HACCEL(Windows.GetProp(AMessage.HWnd, 'Accel'));
|
||||||
If (AccelTable = HACCEL(nil)) or (TranslateAccelerator(AMessage.HWnd, AccelTable, @AMessage) = 0) Then
|
If (AccelTable = HACCEL(nil)) or (TranslateAccelerator(AMessage.HWnd, AccelTable, @AMessage) = 0) Then
|
||||||
|
Begin
|
||||||
|
if not HandleDialogMessage then
|
||||||
Begin
|
Begin
|
||||||
TranslateMessage(@AMessage);
|
TranslateMessage(@AMessage);
|
||||||
DispatchMessage(@AMessage);
|
DispatchMessage(@AMessage);
|
||||||
End;
|
End;
|
||||||
End;
|
End;
|
||||||
|
End;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
@ -2969,6 +2985,9 @@ End;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.161 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.160 2004/01/20 22:14:27 micha
|
Revision 1.160 2004/01/20 22:14:27 micha
|
||||||
REVERTED: "try register globally unique properties"; implemented new WindowFromPoint not returning window if from different process (tip from vincent)
|
REVERTED: "try register globally unique properties"; implemented new WindowFromPoint not returning window if from different process (tip from vincent)
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ type
|
|||||||
property ShowHint;
|
property ShowHint;
|
||||||
property SmallChange: TScrollBarInc read FSmallChange write FSmallChange default 1;
|
property SmallChange: TScrollBarInc read FSmallChange write FSmallChange default 1;
|
||||||
property TabOrder;
|
property TabOrder;
|
||||||
property TabStop;
|
property TabStop default true;
|
||||||
property Visible;
|
property Visible;
|
||||||
property OnChange: TNotifyEvent read FOnChange write FOnChange;
|
property OnChange: TNotifyEvent read FOnChange write FOnChange;
|
||||||
property OnDragDrop;
|
property OnDragDrop;
|
||||||
@ -285,6 +285,8 @@ type
|
|||||||
property SelStart: integer read GetSelStart write SetSelStart;
|
property SelStart: integer read GetSelStart write SetSelStart;
|
||||||
property SelText: String read GetSelText write SetSelText;
|
property SelText: String read GetSelText write SetSelText;
|
||||||
property Style: TComboBoxStyle read FStyle write SetStyle;
|
property Style: TComboBoxStyle read FStyle write SetStyle;
|
||||||
|
published
|
||||||
|
property TabStop default true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -400,6 +402,8 @@ type
|
|||||||
property Sorted: boolean read FSorted write SetSorted;
|
property Sorted: boolean read FSorted write SetSorted;
|
||||||
property Style: TListBoxStyle read FStyle write SetStyle;
|
property Style: TListBoxStyle read FStyle write SetStyle;
|
||||||
property TopIndex: Integer read GetTopIndex write SetTopIndex;
|
property TopIndex: Integer read GetTopIndex write SetTopIndex;
|
||||||
|
published
|
||||||
|
property TabStop default true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -497,7 +501,7 @@ type
|
|||||||
property Text;
|
property Text;
|
||||||
published
|
published
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
property TabStop;
|
property TabStop default true;
|
||||||
property TabOrder;
|
property TabOrder;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -723,6 +727,8 @@ type
|
|||||||
public
|
public
|
||||||
property AllowGrayed: Boolean read FAllowGrayed write FAllowGrayed;
|
property AllowGrayed: Boolean read FAllowGrayed write FAllowGrayed;
|
||||||
property State: TCheckBoxState read GetState write SetState;
|
property State: TCheckBoxState read GetState write SetState;
|
||||||
|
published
|
||||||
|
property TabStop default true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$IFNDef NewCheckBox}
|
{$IFNDef NewCheckBox}
|
||||||
@ -1468,6 +1474,9 @@ end.
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.117 2004/01/21 10:19:16 micha
|
||||||
|
enable tabstops for controls; implement tabstops in win32 intf
|
||||||
|
|
||||||
Revision 1.116 2004/01/12 15:04:41 mattias
|
Revision 1.116 2004/01/12 15:04:41 mattias
|
||||||
implemented TCustomListBox.ItemAtPos
|
implemented TCustomListBox.ItemAtPos
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user