![]() |
Delphi THTMLISTBOX Vertical align ?
i want to show selected item and all other items in middle position i currently do this to center the item
Delphi-Quellcode:
thats centered it but how to get it in middle when Like vertical align
<p align="center">' + item +
'</p>' i tested vertical-align but did not work any suggestion ? i tried to put it in <ul> Tag its kinda working but i dont need the dot beside the name i try to remove it as basic html like
Delphi-Quellcode:
but there is huge height between each item how to control on the item height ?
'<ul><li type="none"><p align="center">' + item +
'</p></li></ul><BR>' |
AW: Delphi THTMLISTBOX Vertical align ?
Hello,
Zitat:
Delphi-Quellcode:
Maybe it helps.
procedure TForm1.Button1Click(Sender: TObject);
var i : Integer; s : string; begin for i := 0 to 6 do begin s := IntToStr (HTMListBox1.ItemHeight + 2 * (i + 1)); HTMListBox1.Items.Add ('<p align="center"><img src="blind_1x1" width="1" height="' + s + '" align="middle">Test ' + s + '</p>') end end; Greetings |
AW: Delphi THTMLISTBOX Vertical align ?
Zitat:
i dont know why THTMLISBOX does not load any image inside it i do as you said but its not working |
AW: Delphi THTMLISTBOX Vertical align ?
Hello,
Zitat:
Greetings |
AW: Delphi THTMLISTBOX Vertical align ?
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:50 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz