Open GoogleCodeExporter opened 9 years ago
Just modify the type definition of ThtCombobox in unit HtmlGlobals.
All replacements for TComboBox should work.
Original comment by OrphanCat
on 6 Feb 2013 at 5:41
I did it but it needs to change the canva draw in order to have the bold/fonts
effects in the items.
Original comment by dkou...@gmail.com
on 6 Feb 2013 at 8:12
Where do you get the bold/fonts infos from?
While reading the options all tags are skipped.
Original comment by OrphanCat
on 10 Feb 2013 at 11:50
I apologize for the delay.
In TJvHTComboBox, each item (option in the combobox) can be defined with html
code. That means that each item can be rendered with bold/italics/etc
characters and images.
Changing the definition of ThtCombobox renders the item as simple text. So an
event could possible provide a different rendering or TComboFormControlObj.Draw
must be changed to use TJvhtcombox's draw routine.
Original comment by dkou...@gmail.com
on 18 Feb 2013 at 1:29
Original comment by OrphanCat
on 29 Mar 2013 at 10:53
dkounal,
TComboFormControlObj uses a control of type ThtComboBox, which is located in
HtmlGlobals and derived from TComboBox or TTntComboBox.
You might want to try to derive ThtComboBox from TJvHTComboBox instead. Please
let me know, if that works.
Thank you.
Original comment by OrphanCat
on 4 Oct 2013 at 11:58
Original issue reported on code.google.com by
dkou...@gmail.com
on 6 Feb 2013 at 8:23