JVCL Help:TJvHTListBox

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomHTListBox
TJvHTListBox
run\JvHtControls.pas


Summary

Implements an HTML-enabled list box.

run\JvHtControls.pas


Pascal

 run\JvHtControls.pas
 TJvHTListBox = class(TJvCustomHTListBox);


Description

  1. JVCLInfo

TJvHTListBox is a TJvCustomHTListBox descendant that implements an HTML-enabled list box component.
TJvHTListBox provides the ability to render HTML tags found in the Items property, and includes the following tags and attributes:

Tags
<A></A>



Attribute Usage
HREF Valid URL for anchor tags.
ALIGN "CENTER" or "RIGHT" ("LEFT" is the default)
COLOR String representation of TColor values.
BGCOLOR "clRED", "clGREEN", "clBLUE", etc.
SIZE Font size in points (1/72 inch).
IND Indent in pixels.


HTML Character entities are recognized in the content for the control. The following character entities are rendered as the indicated characters or symbols:

Entity Character or Symbol
< < (Less-than character)
> > (Greater-than character)
& & (Ampersand character)
" " (Double Quote character)
® ® (Registered symbol)
© © (Copyright symbol)
™ (Trademark symbol)
€ (Euro symbol)
  (Non-breaking space character)


Use the OnHyperLinkClick event handler to respond to mouse clicks on Anchor tags found in the content for the control.
Use PlainItems to access the content of the control as plain text instead of HTML tagged content.
Use the ColorHighlight, ColorHighlightText, and ColorDisabledText properties to set the TColor values applied to the control when selected or disabled.

run\JvHtControls.pas


See Also

TJvCustomHTListBox.OnHyperLinkClick, TJvCustomHTListBox.PlainItems, TJvCustomHTListBox.ColorHighlight, TJvCustomHTListBox.ColorHighlightText, TJvCustomHTListBox.ColorDisabledText, TJvCustomHTListBox

run\JvHtControls.pas


About

Navigation

run\JvHtControls.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page