FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
[WB19] dCopy problem
[WB19] dCopy problem
Débuté par Piet van Zanten, 16 aoû. 2016 11:01 - 2 réponses
Connectez-vous…
Piet van Zanten
#1
Membre enregistré
17 messages
Popularité : +1 (1 vote)
Posté le 16 août 2016 - 11:01
Hi,
I'm struggling with a weird problem.
I'm using dCopy to copy some little images into an image control. The copy is from one image control to another.
An image variable as copy source does not work, because transparency is lost then.
In test mode this works fine, but once deployed the black image turns to light gray in the destination image after copy. Both testmachine and server have IIS running.
I tried rebuilding the page from scratch, setting all kinds of background settings for the image, even tried dCopyBlt.
Also checked if the graphic WD framework is the same on both machines, which they are.
Always it works on the test, but not once deployed.
A real pain, because each time I need to deploy the site to check if my modifications are successful.
Any help is really appreciated.
Best regards,
Piet
Signaler
0
0
Piet van Zanten
#2
Membre enregistré
17 messages
Popularité : +1 (1 vote)
Posté le 17 août 2016 - 15:25
Hi,
Without ever finding the cause, I got this working by using image variables only.
So from now on I'll avoid using image controls for drawing.
I did not use image variables in the first place because dStartDrawing(dErase) did not erase the previous drawing, neither did dEndDrawing().
I solved this by doing a VariableReset followed by a width and height assigment for the original height.
Regards,
Piet
Signaler
0
0
Mister RUAN
#3
Membre enregistré
209 messages
Popularité : +1 (1 vote)
Posté le 10 avril 2017 - 12:04
Piet VAN ZANTEN wrote:
Hi,
Without ever finding the cause, I got this working by using image variables only.
So from now on I'll avoid using image controls for drawing.
I did not use image variables in the first place because dStartDrawing(dErase) did not erase the previous drawing, neither did dEndDrawing().
I solved this by doing a VariableReset followed by a width and height assigment for the original height.
Regards,
Piet
Hi Piet
I have been struggling with this for days now. Can you please tell me how you managed to do this? Do you maybe have an example code on this. This is driving me insane!!
Thanks
Ruan
Signaler
0
0
→ Revenir à WEBDEV 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