FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[7.5] image display on button
[7.5] image display on button
Débuté par Tom, 07 sep. 2005 20:13 - 1 réponse
Connectez-vous…
Tom
#1
Posté le 07 septembre 2005 - 20:13
Hello,
I use the following code to display an image on a button. the images are stored in hyperfile memo field.
HExtractMemo(FILE,ITEM_IMAGE,LOCAL_PATH)
CTRL_BUTTON..Image = LOCAL_PATH
this works fine but is a bit slow because each time the image has to be created on hard disk.
Is there a way to directly assign the file item to the button-image property?
Thanks in advance,
Tom
Signaler
0
0
Clive Dickinson
#2
Posté le 09 septembre 2005 - 02:38
Tom,
Perhaps you could leave the image file on the hard disk after it has been extracted and then for subsequent uses read it directly from the disk ie put some conditional code in that checks for the existence of the image and reads it from the disk if it already exists. That way it would be slow the first time the window is accessed but quicker for subsequent times.
hth
Clive
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte