📄 tntjvbuttons.pas
字号:
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See the License for
the specific language governing rights and limitations under the License.
The Original Code is: JvButtons.PAS, released on 2002-07-04.
The Initial Developers of the Original Code are: Andrei Prygounkov <a dott prygounkov att gmx dott de>
Copyright (c) 1999, 2002 Andrei Prygounkov
All Rights Reserved.
Contributor(s):
You may retrieve the latest version of this file at the Project JEDI's JVCL home page,
located at http://jvcl.sourceforge.net
components : TJvaCaptionButton,
TJvaColorButton,
TJvNoFrameButton,
TJvHTButton
description : Buttons
Known Issues:
Maciej Kaczkowski:
[X] Height of JvHTComboBox - on design time you cannot use mouse for resize
[X] alignment not work correctly on JvHTButtonGlyph
[X] not tested on BCB & Kylix
Create label with caption:
<ALIGN CENTER>Item 1 <b>bold</b> <u>underline</u><br><ALIGN RIGHT><FONT COLOR="clRed">red <FONT COLOR="clgreen">green <FONT COLOR="clblue">blue</i><br><ALIGN LEFT><FONT COLOR="clTeal">Item 2 <i>italic ITALIC</i> <s>strikeout STRIKEOUT </s><hr><br><ALIGN CENTER><FONT COLOR="clRed" BGCOLOR="clYellow">red with yellow background</FONT><FONT COLOR="clwhite"> white <FONT COLOR="clnavy"><b><i>navy</i></b>
Some information about coding:
[?] If you want use few times function <ALIGN> you must use before next <ALIGN>
function <BR>
[?] After <HR> must be <BR>
Changes:
========
Maciej Kaczkowski:
[+] <BR> - new line
[+] <HR> - horizontal line
[+] <S> and </S> - StrikeOut
[+] Multiline for JvHTListBox, JvHTComboBox
TJvHTButton
[+] You can change Height of JvHTComboBox
[+] Tags: & " ® © ™
< >
[+] <ALIGN [CENTER, LEFT, RIGHT]>
[*] <C:color> was changed to ex.:
<FONT COLOR="clRed" BGCOLOR="clWhite">
</FONT>
[*] procedure ItemHtDrawEx - rewrited
[*] function ItemHtPlain - optimized
-----------------------------------------------------------------------------}
// $Id: JvButtons.pas,v 1.42 2005/09/15 07:22:54 marquardt Exp $
unit TntJvButtons;
interface
{$I jvcl.inc}
{$I TntCompilers.inc}
uses
TntJvExStdCtrls, TntJvButton;
type
TTntJvExCheckBox = class(TTntJvExCustomCheckBox)
published
property Action;
property Alignment;
property AllowGrayed;
property Anchors;
property BiDiMode;
property Caption;
property Checked;
property Color {$IFDEF COMPILER_7_UP} nodefault {$ENDIF};
property Constraints;
property Ctl3D;
property DragCursor;
property DragKind;
property DragMode;
property Enabled;
property Font;
property ParentBiDiMode;
property ParentColor;
property ParentCtl3D;
property ParentFont;
property ParentShowHint;
property PopupMenu;
property ShowHint;
property State;
property TabOrder;
property TabStop;
property Visible;
{$IFDEF COMPILER_7_UP}
property WordWrap;
{$ENDIF}
property OnClick;
property OnContextPopup;
property OnDragDrop;
property OnDragOver;
property OnEndDock;
property OnEndDrag;
property OnEnter;
property OnExit;
property OnKeyDown;
property OnKeyPress;
property OnKeyUp;
property OnMouseDown;
property OnMouseMove;
property OnMouseUp;
property OnStartDock;
property OnStartDrag;
end;
TTntJvExCheckBoxJ = class(TTntJvExCheckBox)
end;
TTntJvButton = class(TTntJvCustomButton)
published
property HotTrack;
property HotTrackFont;
property HotTrackFontOptions;
property Action;
property Anchors;
property BiDiMode;
property Caption;
property Color {$IFDEF COMPILER_7_UP} nodefault {$ENDIF};
property Constraints;
property Ctl3D;
property DragCursor;
property DragKind;
property DragMode;
property Enabled;
property Font;
property ParentBiDiMode;
property ParentColor;
property ParentCtl3D;
property ParentFont;
property ParentShowHint;
property PopupMenu;
property ShowHint;
property TabOrder;
property TabStop;
property Visible;
property WordWrap;
property OnClick;
property OnContextPopup;
property OnDragDrop;
property OnDragOver;
property OnEndDock;
property OnEndDrag;
property OnEnter;
property OnExit;
property OnKeyDown;
property OnKeyPress;
property OnKeyUp;
property OnMouseDown;
property OnMouseMove;
property OnMouseUp;
property OnStartDock;
property OnStartDrag;
end;
implementation
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -