Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   TMS THTMListbox (https://www.delphipraxis.net/182253-tms-thtmlistbox.html)

drama22 13. Okt 2014 18:58

TMS THTMListbox
 
hello i wonder how i centered the items inside THTMListbox there is no ondraw event .

Volker Z. 13. Okt 2014 19:20

AW: TMS THTMListbox
 
Hello,

Zitat:

[...] i wonder how i centered the items inside THTMListbox [...]
have you ever tried it this way
Delphi-Quellcode:
HTMListBox1.Items.Add ('<p align="center">item centered</p>')
?



Greetings

drama22 13. Okt 2014 21:01

AW: TMS THTMListbox
 
Thank you its working ,, another thing can i add image over the text ? like image load on the text

Volker Z. 13. Okt 2014 21:30

AW: TMS THTMListbox
 
Hello,

Zitat:

[...] can i add image over the text ? [...]
:shock: :gruebel: Over the text? What's your goal? Do you want a background image for a certain listitem? Or something completely different? Please be a little bit more accurate in your description.

Greetings

drama22 13. Okt 2014 23:44

AW: TMS THTMListbox
 
Zitat:

Zitat von Volker Z. (Beitrag 1275783)
Hello,

Zitat:

[...] can i add image over the text ? [...]
:shock: :gruebel: Over the text? What's your goal? Do you want a background image for a certain listitem? Or something completely different? Please be a little bit more accurate in your description.

Greetings

i want to replace the text with a name url gif image

ibp 14. Okt 2014 07:36

AW: TMS THTMListbox
 
look at me! TMS mini HTML reference

drama22 15. Okt 2014 21:28

AW: TMS THTMListbox
 
Zitat:

Zitat von ibp (Beitrag 1275804)
look at me! TMS mini HTML reference

i see the refrence but it doesnt show how to show gif image inside

mkinzler 15. Okt 2014 21:33

AW: TMS THTMListbox
 
Isn't a gif image an image? :gruebel:

drama22 15. Okt 2014 22:40

AW: TMS THTMListbox
 
Zitat:

Zitat von mkinzler (Beitrag 1276091)
Isn't a gif image an image? :gruebel:

yes it is i did it like this

Delphi-Quellcode:
<IMG src="file://http://sitename.com/imagename.gif">


but it doesnt show any thing its shows blank

also can i set the listbox background to gradient back ground ?

mkinzler 15. Okt 2014 23:06

AW: TMS THTMListbox
 
You have to decide which protocol you want to use, either file or http


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:48 Uhr.
Seite 1 von 2  1 2      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz