AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

TMS THTMListbox

Ein Thema von drama22 · begonnen am 6. Dez 2014 · letzter Beitrag vom 10. Dez 2014
Antwort Antwort
Seite 1 von 2  1 2      
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#1

TMS THTMListbox

  Alt 6. Dez 2014, 16:17
hello i am trying to put animated gifs inside thtmlistbox , i read the mini reference of Thtmlistbox from here , but there is no example about how to put animated gifs , the image that i try to load i upload it on url example
Delphi-Quellcode:
imagename := 'http://www.delphipraxis.net/images/smilies/icon_redface.gif';
fullitem := '<img src="'+imagename+'" width="24" height="24" align="middle" >' + 'item';
Thtmlistbox.items.Add(fullitem);
but it wont load always the image is blank doesn't load i been long time i didnt find any solution for that , there is a very poor informations about tms online any help with this case ?

Geändert von drama22 ( 6. Dez 2014 um 16:46 Uhr)
  Mit Zitat antworten Zitat
Jens01

Registriert seit: 14. Apr 2009
670 Beiträge
 
#2

AW: TMS THTMListbox

  Alt 6. Dez 2014, 17:37
miniHtml
Achtung: Bin kein Informatiker sondern komme vom Bau.
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#3

AW: TMS THTMListbox

  Alt 6. Dez 2014, 17:48
i mentioned that i read the reference there is no example on how to use animated gif from url .
  Mit Zitat antworten Zitat
mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#4

AW: TMS THTMListbox

  Alt 6. Dez 2014, 18:36
An animated gif is an image
Markus Kinzler
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#5

AW: TMS THTMListbox

  Alt 7. Dez 2014, 00:02
An animated gif is an image
yes i know that but its not showing always blank
  Mit Zitat antworten Zitat
vagtler

Registriert seit: 9. Jul 2010
Ort: Köln
667 Beiträge
 
Delphi 2010 Professional
 
#6

AW: TMS THTMListbox

  Alt 7. Dez 2014, 18:02
Regarding the mentioned Mini HTML documentation the image source cannot be an URL:
Zitat:
specifier can be : idx : name is the index of the image in the associated imagelist
ssys : name is the index of the small image in the system imagelist or a filename for which the corresponding system imagelist is searched
lsys : same as ssys, but for large system imagelist image
file : name is the full filename specifier
res : name of a resource image (not visible at design time) Supported image types: BMP, GIF, PNG. Please note that the resource type should be RT_RCDATA!
no specifier : name of image in an PictureContainer
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#7

AW: TMS THTMListbox

  Alt 7. Dez 2014, 19:09
Regarding the mentioned Mini HTML documentation the image source cannot be an URL:
Zitat:
specifier can be : idx : name is the index of the image in the associated imagelist
ssys : name is the index of the small image in the system imagelist or a filename for which the corresponding system imagelist is searched
lsys : same as ssys, but for large system imagelist image
file : name is the full filename specifier
res : name of a resource image (not visible at design time) Supported image types: BMP, GIF, PNG. Please note that the resource type should be RT_RCDATA!
no specifier : name of image in an PictureContainer
so there is no way to load images from url into Thtmlistbox ?
  Mit Zitat antworten Zitat
vagtler

Registriert seit: 9. Jul 2010
Ort: Köln
667 Beiträge
 
Delphi 2010 Professional
 
#8

AW: TMS THTMListbox

  Alt 8. Dez 2014, 07:20
What about downloading the image from the URL and saving it temporarily in a PictureContainer?
  Mit Zitat antworten Zitat
mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#9

AW: TMS THTMListbox

  Alt 8. Dez 2014, 07:40
It's his only option. He can also store it in an imagelist or in the temp folder.
Markus Kinzler
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#10

AW: TMS THTMListbox

  Alt 10. Dez 2014, 01:30
It's his only option. He can also store it in an imagelist or in the temp folder.
is there sample code for that
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:51 Uhr.
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