Hi.
Please, how can I make the text of the TTIWHTMLLabel to be vertically align on the center with an input control (textbox, combobox, checkbox) without using template ?
On a form, just drop a TTIWHTMLLabel and a TTIWAdvEdit. Give to them the same height and vertically align them to the center. Run the program and they are not align as on the form design.
Thanks.
Hi.
I've seen that it is true when I put the text in the HTMLString property. But if the text is put on the Caption property, they remain align as in the design. Using the caption is to long because this property have not been published for the TTIWHTMLLabel and I have to do it via the code. Since the property exist (Caption), can you publush it please ?
Thanks
TTIWHTMLLabel was designed exactly for the purpose of allowing to set HTML formatted text and through this HTML formatting, i.e. by using HTML attributes in HTMLString, you can control things such as alignment, font, etc... It wasn't designed to be used with Caption. If you do not need HTML formatted text, you can as well use the standard IntraWeb TIWLabel component.