FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD22] Image Control zoom if the mouse goes ober an area
[WD22] Image Control zoom if the mouse goes ober an area
Débuté par Michael Drechsel, 11 avr. 2018 11:23 - 1 réponse
Connectez-vous…
Michael Drechsel
#1
Posté le 11 avril 2018 - 11:23
Hi,
I need a function in windev that zooms a area of a small picture when the user moves the mouse over it.
Like in amazons product pictures.
Any ideas ?
Signaler
0
0
Fabrice Harari
#2
Posté le 11 avril 2018 - 12:24
Hi Michael,
this is what I would do:
- a second image control where the zoomed area will be displayed
- code on the first image when the mouse is hovering
- dcopyimage to copy part of the main image into the second one, ergo with a different zoom value
- IF you need a better quality, you may want to have an hidden image with the bigger image in it at 100% and do the copy from this one instead of from the smaller one.
Best regards
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