2019-05-28 21:13:32 +00:00
|
|
|
object MainForm: TMainForm
|
|
|
|
Left = 369
|
2016-11-29 09:53:31 +00:00
|
|
|
Height = 468
|
2019-05-28 21:13:32 +00:00
|
|
|
Top = 219
|
|
|
|
Width = 575
|
2016-11-29 09:53:31 +00:00
|
|
|
Caption = 'JvHTControls'
|
|
|
|
ClientHeight = 468
|
2019-05-28 21:13:32 +00:00
|
|
|
ClientWidth = 575
|
2016-11-29 09:53:31 +00:00
|
|
|
OnCreate = FormCreate
|
|
|
|
OnShow = FormShow
|
2019-01-31 21:24:43 +00:00
|
|
|
LCLVersion = '2.1.0.0'
|
2016-11-29 09:53:31 +00:00
|
|
|
object PageControl1: TPageControl
|
|
|
|
Left = 0
|
|
|
|
Height = 422
|
|
|
|
Top = 0
|
2019-05-28 21:13:32 +00:00
|
|
|
Width = 575
|
2016-11-29 09:53:31 +00:00
|
|
|
ActivePage = TabSheet1
|
|
|
|
Align = alClient
|
|
|
|
TabIndex = 0
|
|
|
|
TabOrder = 0
|
|
|
|
object TabSheet1: TTabSheet
|
|
|
|
Caption = 'TJvHTLabel'
|
|
|
|
ClientHeight = 394
|
2019-05-28 21:13:32 +00:00
|
|
|
ClientWidth = 567
|
2016-11-29 09:53:31 +00:00
|
|
|
object JvHTLabel1: TJvHTLabel
|
|
|
|
Left = 8
|
2019-05-31 15:16:44 +00:00
|
|
|
Height = 106
|
|
|
|
Hint = 'HTLabel with:<br/>'#13#10'<b>bold</b><br>'#13#10'<i>italic</i><br>'#13#10'<u>underline</u><br>'#13#10'<s>strikeout</s><br>'#13#10'<font color="Red">c</font><font color="blue">o</font><font color="Green">l</font><font color="Fuchsia">o</font><font color="Maroon">r</font><br>'#13#10'<a href="http://www.freepascal.org/">Links</a> and <a href="custom">custom links</a>'
|
2016-11-29 09:53:31 +00:00
|
|
|
Top = 8
|
|
|
|
Width = 120
|
2019-01-31 21:24:43 +00:00
|
|
|
Caption = 'HTLabel with:<br>'#13#10'<b>bold</b><br>'#13#10'<i>italic</i><br>'#13#10'<u>underline</u><br>'#13#10'<s>strikeout</s><br>'#13#10'<font color="Red">c</font><font color="blue">o</font><font color="Green">l</font><font color="Fuchsia">o</font><font color="Maroon">r</font><br>'#13#10'<a href="http://www.freepascal.org/">Links</a> and <a href="custom">custom links</a>'
|
2016-11-29 09:53:31 +00:00
|
|
|
ParentColor = False
|
|
|
|
ParentShowHint = False
|
|
|
|
ShowHint = True
|
|
|
|
OnHyperLinkClick = JvHTLabel1HyperLinkClick
|
|
|
|
end
|
|
|
|
object Memo1: TMemo
|
|
|
|
Left = 0
|
2019-05-28 21:13:32 +00:00
|
|
|
Height = 123
|
2016-11-29 09:53:31 +00:00
|
|
|
Hint = '<b>HTML</b><br>'#13#10'<i>Enter HTML content</i>'
|
2019-05-28 21:13:32 +00:00
|
|
|
Top = 271
|
|
|
|
Width = 567
|
2016-11-29 09:53:31 +00:00
|
|
|
Align = alBottom
|
|
|
|
Lines.Strings = (
|
|
|
|
'HTLabel with:<br>'
|
|
|
|
'<b>bold</b><br>'
|
|
|
|
'<i>italic</i><br>'
|
|
|
|
'<u>underline</u><br>'
|
|
|
|
'<s>strikeout</s><br>'
|
2019-01-31 21:24:43 +00:00
|
|
|
'<font color="Red">c</font><font color="blue">o</font><font color="Green">l</font><font color="Fuchsia">o</font><font color="Maroon">r</font><br>'
|
2016-11-29 09:53:31 +00:00
|
|
|
'<a href="http://www.freepascal.org/">Links</a> and <a href="custom">custom links</a>'
|
|
|
|
)
|
|
|
|
OnChange = Memo1Change
|
|
|
|
ParentFont = False
|
|
|
|
ParentShowHint = False
|
|
|
|
ScrollBars = ssAutoBoth
|
|
|
|
ShowHint = True
|
|
|
|
TabOrder = 0
|
|
|
|
WordWrap = False
|
|
|
|
end
|
|
|
|
object Splitter1: TSplitter
|
|
|
|
Cursor = crVSplit
|
|
|
|
Left = 0
|
|
|
|
Height = 5
|
2019-05-28 21:13:32 +00:00
|
|
|
Top = 266
|
|
|
|
Width = 567
|
2016-11-29 09:53:31 +00:00
|
|
|
Align = alBottom
|
|
|
|
ResizeAnchor = akBottom
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object TabSheet2: TTabSheet
|
|
|
|
Caption = 'TJvHTListBox'
|
|
|
|
ClientHeight = 394
|
|
|
|
ClientWidth = 574
|
|
|
|
object JvHTListBox1: TJvHTListBox
|
|
|
|
Left = 0
|
|
|
|
Height = 394
|
|
|
|
Hint = '<b>TJvHTListBox</b><br>'#13#10'<i>ListBox with HT items</i>'
|
|
|
|
Top = 0
|
|
|
|
Width = 152
|
|
|
|
HideSel = False
|
|
|
|
OnHyperLinkClick = JvHTListBox1HyperLinkClick
|
|
|
|
Align = alLeft
|
|
|
|
ColorHighlight = clHighlight
|
|
|
|
ColorHighlightText = clHighlightText
|
|
|
|
ColorDisabledText = clGrayText
|
|
|
|
Items.Strings = (
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
)
|
|
|
|
ParentShowHint = False
|
|
|
|
ShowHint = True
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
|
|
|
object Splitter2: TSplitter
|
|
|
|
Left = 152
|
|
|
|
Height = 394
|
|
|
|
Top = 0
|
|
|
|
Width = 5
|
|
|
|
end
|
|
|
|
object Memo2: TMemo
|
2019-04-27 23:12:23 +00:00
|
|
|
AnchorSideLeft.Control = Splitter2
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
Left = 157
|
2016-11-29 09:53:31 +00:00
|
|
|
Height = 90
|
|
|
|
Hint = '<b>New item content</b><br><i>Enter new item contnent</i>'
|
|
|
|
Top = 8
|
2019-04-27 23:12:23 +00:00
|
|
|
Width = 409
|
2016-11-29 09:53:31 +00:00
|
|
|
Anchors = [akTop, akLeft, akRight]
|
|
|
|
Lines.Strings = (
|
|
|
|
'new item...'
|
|
|
|
)
|
|
|
|
ParentShowHint = False
|
|
|
|
ShowHint = True
|
|
|
|
TabOrder = 2
|
|
|
|
end
|
|
|
|
object Button1: TButton
|
2019-04-27 23:12:23 +00:00
|
|
|
AnchorSideLeft.Control = Splitter2
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
Left = 157
|
2016-11-29 09:53:31 +00:00
|
|
|
Height = 25
|
|
|
|
Hint = '<b>Add item</b><br>'#13#10'<i>Add item to ListBox and ComboBox</i>'
|
|
|
|
Top = 112
|
|
|
|
Width = 75
|
|
|
|
AutoSize = True
|
|
|
|
Caption = 'Add item'
|
|
|
|
OnClick = Button1Click
|
|
|
|
ParentShowHint = False
|
|
|
|
ShowHint = True
|
|
|
|
TabOrder = 3
|
|
|
|
end
|
|
|
|
object JvHTComboBox1: TJvHTComboBox
|
2019-04-27 23:12:23 +00:00
|
|
|
AnchorSideLeft.Control = Splitter2
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
Left = 157
|
2016-11-29 09:53:31 +00:00
|
|
|
Height = 24
|
|
|
|
Hint = '<b>TJvHTComboBox</b><br>'#13#10'<i>ComboBox with HT items</i>'
|
|
|
|
Top = 160
|
|
|
|
Width = 152
|
|
|
|
HideSel = False
|
|
|
|
ColorHighlight = clHighlight
|
|
|
|
ColorHighlightText = clHighlightText
|
|
|
|
ColorDisabledText = clGrayText
|
|
|
|
Items.Strings = (
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
'<b>Lazarus</b><br><a href="http://www.lazarus-ide.org/">Home page</a> or <a hred="http://forum.lazarus.freepascal.org/">Forum</a>'
|
|
|
|
'<b>Free Pascal</b><br><a href="http://www.freepascal.org/">Home page</a>'
|
|
|
|
'<b>Other...</b><br><i>Other stuff</i> <font color="clred">d-oh!</font>...'
|
|
|
|
)
|
|
|
|
ParentShowHint = False
|
|
|
|
ShowHint = True
|
|
|
|
TabOrder = 4
|
|
|
|
end
|
|
|
|
object Button2: TButton
|
2019-04-27 23:12:23 +00:00
|
|
|
AnchorSideLeft.Control = Button1
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
Left = 256
|
2016-11-29 09:53:31 +00:00
|
|
|
Height = 25
|
|
|
|
Top = 112
|
|
|
|
Width = 53
|
|
|
|
AutoSize = True
|
2019-04-27 23:12:23 +00:00
|
|
|
BorderSpacing.Left = 24
|
2016-11-29 09:53:31 +00:00
|
|
|
Caption = 'Clear'
|
|
|
|
OnClick = Button2Click
|
|
|
|
TabOrder = 5
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object TabSheet3: TTabSheet
|
|
|
|
Caption = 'TJvDBHTLabel'
|
|
|
|
ClientHeight = 394
|
|
|
|
ClientWidth = 574
|
|
|
|
object JvDBHTLabel1: TJvDBHTLabel
|
|
|
|
Left = 8
|
2016-12-07 12:23:59 +00:00
|
|
|
Height = 16
|
2016-11-29 09:53:31 +00:00
|
|
|
Top = 8
|
2016-12-07 12:23:59 +00:00
|
|
|
Width = 297
|
2016-11-29 09:53:31 +00:00
|
|
|
DataSource = DataSource1
|
|
|
|
Mask = 'Numeric field: <b><field="Num"></b><br>Field 1: <b><font color="clRed"><field="fld1"></font></b><br><i>Field 2:</i> <b><font color="clGreen"><field="fld2"></font></b><br>And some link: <a href="url"><field="Fld1"></a><br><a href="qwe">#<field="num"></a> - <b><field="fld1"> <field="fld2"></b>'
|
|
|
|
ParentColor = False
|
|
|
|
OnHyperLinkClick = JvDBHTLabel1HyperLinkClick
|
|
|
|
end
|
|
|
|
object DBGrid1: TDBGrid
|
|
|
|
Left = 0
|
|
|
|
Height = 130
|
|
|
|
Top = 264
|
|
|
|
Width = 574
|
|
|
|
Align = alBottom
|
|
|
|
Color = clWindow
|
|
|
|
Columns = <>
|
|
|
|
DataSource = DataSource1
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
|
|
|
object Splitter3: TSplitter
|
|
|
|
Cursor = crVSplit
|
|
|
|
Left = 0
|
|
|
|
Height = 5
|
|
|
|
Top = 259
|
|
|
|
Width = 574
|
|
|
|
Align = alBottom
|
|
|
|
ResizeAnchor = akBottom
|
|
|
|
end
|
|
|
|
object Memo3: TMemo
|
|
|
|
Left = 0
|
|
|
|
Height = 99
|
|
|
|
Top = 160
|
|
|
|
Width = 574
|
|
|
|
Align = alBottom
|
|
|
|
Lines.Strings = (
|
|
|
|
'Numeric field: <b><field="Num"></b><br>Field 1: <b><font color="clRed"><field="fld1"></font></b><br><i>Field 2:</i> <b><font color="clGreen"><field="fld2"></font></b><br>And some link: <a href="url"><field="Fld1"></a><br><a href="qwe">#<field="num"></a> - <b><field="fld1"> <field="fld2"></b>'
|
|
|
|
)
|
|
|
|
OnChange = Memo3Change
|
|
|
|
TabOrder = 2
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object ButtonPanel1: TButtonPanel
|
|
|
|
Left = 6
|
|
|
|
Height = 34
|
|
|
|
Top = 428
|
2019-05-28 21:13:32 +00:00
|
|
|
Width = 563
|
2016-11-29 09:53:31 +00:00
|
|
|
OKButton.Name = 'OKButton'
|
|
|
|
OKButton.DefaultCaption = True
|
|
|
|
HelpButton.Name = 'HelpButton'
|
|
|
|
HelpButton.DefaultCaption = True
|
|
|
|
CloseButton.Name = 'CloseButton'
|
|
|
|
CloseButton.Hint = '<b>Exit</b><br>'#13#10'<i>Exit application</i>'
|
|
|
|
CloseButton.DefaultCaption = True
|
|
|
|
CloseButton.ShowHint = True
|
|
|
|
CancelButton.Name = 'CancelButton'
|
|
|
|
CancelButton.DefaultCaption = True
|
|
|
|
TabOrder = 1
|
|
|
|
ShowButtons = [pbClose]
|
|
|
|
end
|
|
|
|
object MemDataset1: TMemDataset
|
|
|
|
Active = True
|
|
|
|
FieldDefs = <
|
|
|
|
item
|
|
|
|
Name = 'Num'
|
|
|
|
DataType = ftInteger
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Name = 'Fld1'
|
|
|
|
DataType = ftString
|
|
|
|
Size = 20
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Name = 'Fld2'
|
|
|
|
DataType = ftString
|
|
|
|
Size = 20
|
|
|
|
end>
|
|
|
|
left = 384
|
|
|
|
top = 112
|
|
|
|
end
|
|
|
|
object DataSource1: TDataSource
|
|
|
|
DataSet = MemDataset1
|
|
|
|
left = 464
|
|
|
|
top = 112
|
|
|
|
end
|
|
|
|
end
|