FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC

Développement d'applications avec le langage Panoramic
 
AccueilAccueil  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  MembresMembres  Connexion  
Derniers sujets
» Form(résolu)
KGF SCROLLIMAGE Emptypar leclode Hier à 17:59

» trop de fichiers en cours
KGF SCROLLIMAGE Emptypar Marc Hier à 11:42

» Bataille navale SM
KGF SCROLLIMAGE Emptypar jjn4 Ven 26 Avr 2024 - 17:39

» Une calculatrice en une ligne de programme
KGF SCROLLIMAGE Emptypar jean_debord Ven 26 Avr 2024 - 8:01

» Gestion d'un système client-serveur.
KGF SCROLLIMAGE Emptypar Pedro Jeu 25 Avr 2024 - 19:31

» Les maths du crocodile
KGF SCROLLIMAGE Emptypar jean_debord Jeu 25 Avr 2024 - 10:37

» Naissance de Crocodile Basic
KGF SCROLLIMAGE Emptypar jean_debord Jeu 25 Avr 2024 - 8:45

» Editeur EliP 6 : Le Tiny éditeur avec 25 onglets de travail
KGF SCROLLIMAGE Emptypar Froggy One Mer 24 Avr 2024 - 18:38

» Dessine-moi une galaxie
KGF SCROLLIMAGE Emptypar jjn4 Lun 22 Avr 2024 - 13:47

» Erreur END_SUB
KGF SCROLLIMAGE Emptypar jjn4 Lun 22 Avr 2024 - 13:43

» Bug sur DIM_LOCAL ?
KGF SCROLLIMAGE Emptypar papydall Dim 21 Avr 2024 - 23:30

» 2D_fill_color(résolu)
KGF SCROLLIMAGE Emptypar leclode Sam 20 Avr 2024 - 8:32

» Consommation gaz électricité
KGF SCROLLIMAGE Emptypar leclode Mer 17 Avr 2024 - 11:07

» on_key_down (résolu)
KGF SCROLLIMAGE Emptypar leclode Mar 16 Avr 2024 - 11:01

» Sous-programme(résolu)
KGF SCROLLIMAGE Emptypar jjn4 Jeu 4 Avr 2024 - 14:42

Navigation
 Portail
 Index
 Membres
 Profil
 FAQ
 Rechercher
Rechercher
 
 

Résultats par :
 
Rechercher Recherche avancée
Avril 2024
LunMarMerJeuVenSamDim
1234567
891011121314
15161718192021
22232425262728
2930     
CalendrierCalendrier
Le Deal du moment :
Cdiscount : -30€ dès 300€ ...
Voir le deal

 

 KGF SCROLLIMAGE

Aller en bas 
3 participants
AuteurMessage
Yannick




Nombre de messages : 8610
Age : 52
Localisation : Bretagne
Date d'inscription : 15/02/2010

KGF SCROLLIMAGE Empty
MessageSujet: KGF SCROLLIMAGE   KGF SCROLLIMAGE EmptyMer 14 Fév 2024 - 0:39

Bonjour Klaus,

Bon le chat noir est encore là :
KGF SCROLLIMAGE Captur16
;
Lorsque l'on click sur ok la fenêtre se ferme et tout fonctionne sauf qu' en distribution...
Revenir en haut Aller en bas
Klaus

Klaus


Nombre de messages : 12274
Age : 74
Localisation : Ile de France
Date d'inscription : 29/12/2009

KGF SCROLLIMAGE Empty
MessageSujet: Re: KGF SCROLLIMAGE   KGF SCROLLIMAGE EmptyJeu 15 Fév 2024 - 10:26

Es-tu sûr que la bonne version de KGF.dll est présente sur ce site ?
Revenir en haut Aller en bas
http://klauspanoramic.comxa.com/index.html
Yannick




Nombre de messages : 8610
Age : 52
Localisation : Bretagne
Date d'inscription : 15/02/2010

KGF SCROLLIMAGE Empty
MessageSujet: re   KGF SCROLLIMAGE EmptyJeu 15 Fév 2024 - 20:00

@ Klaus,

KGF SCROLLIMAGE Captur64

La fenêtre n'apparait pas tout de suite mais après un petit laps de temps 
je dirai 10/15 secondes.
Revenir en haut Aller en bas
Klaus

Klaus


Nombre de messages : 12274
Age : 74
Localisation : Ile de France
Date d'inscription : 29/12/2009

KGF SCROLLIMAGE Empty
MessageSujet: Re: KGF SCROLLIMAGE   KGF SCROLLIMAGE EmptyJeu 15 Fév 2024 - 22:59

La version est la bonne.

Il reste à placer de petits messages à des endroits stratégiques pour isoler l'endroit qui pose problème...
Revenir en haut Aller en bas
http://klauspanoramic.comxa.com/index.html
Marc

Marc


Nombre de messages : 2380
Age : 63
Localisation : TOURS (37)
Date d'inscription : 17/03/2014

KGF SCROLLIMAGE Empty
MessageSujet: Re: KGF SCROLLIMAGE   KGF SCROLLIMAGE EmptyVen 16 Fév 2024 - 0:23

Bonjour à tous !
 
@Klaus
L’objet scrollImage plante lors du survol de l’image avec la souris.
 
Voici ton programme de démo issu de KGF.chm pour constater le dysfonctionnement :
 

Code:
' test_ScrollImage.bas

label creer, supprimer, charger, change, reduire, augmenter

dim res%, SI%, img$, no%, no_W%, no_H%, zoom%
zoom% = 100

no% = no% + 1 : open_dialog no% : filter no%,"Images (BMP,JPG,GIF,PNG)|*.bmp;*.jpg;*.gif;*.png"

no% = no% + 1 : button no% : caption no%,"Créer" : on_click no%,creer
no% = no% + 1 : button no% : left no%,width(no%-1) : caption no%,"Supprimer" : on_click no%,supprimer
no% = no% + 1 : button no% : left no%,left(no%-1)+width(no%-1) : caption no%,"Charger" : on_click no%,charger

no% = no% + 1 : button no% : left no%,left(no%-1)+width(no%-1) : caption no%,"Zoom -" : on_click no%,reduire
no% = no% + 1 : button no% : left no%,left(no%-1)+width(no%-1) : caption no%,"Zoom +" : on_click no%,augmenter

no% = no% + 1 : scroll_bar no% : no_W% = no% : top no%,30 : left no%,50 : width no%,500
  min no%,100 : max no%,1200 : position no%,450 : on_change no%,change
no% = no% + 1 : scroll_bar no% : no_H% = no% : vertical no% : top no%,60 : left no%,10 : height no%,350
  min no%,100 : max no%,1200 : position no%,300 : on_change no%,change
  
dll_on "KGF.dll"

end

creer:
  if SI%=0 then SI% = dll_call2("CreateScrollImage",handle(0),0)
  if SI%<>0 then res% = dll_call5("LocateScrollImage",SI%,50,60,position(no_W%),position(no_H%))
' !!!!!!!!!! activer la ligne suivante pour avoir une image résultante de dimensions fixes:
'  res% = dll_call4("FixedSizeScrollImage",SI%,1,1500,1000)
  return
  
supprimer:
  SI% = dll_call1("DeleteScrollImage",SI%)
  return
  
change:
  if SI%<>0 then res% = dll_call5("LocateScrollImage",SI%,50,60,position(no_W%),position(no_H%))
  return
  
charger:
  img$ = file_name$(1)
  if img$="_" then return
  if file_exists(img$)=0 then return
  res% = dll_call1("LoadAnyImageFile",adr(img$))
  res% = dll_call1("LoadScrollImage",SI%)
  return

reduire:
  if SI%=0 then return
  if zoom%>25 then zoom% = zoom% - 25
  res% = dll_call2("ZoomScrollImage",SI%,zoom%)
  return
  
augmenter:
  if SI%=0 then return
  if zoom%<800 then zoom% = zoom% + 25
  res% = dll_call2("ZoomScrollImage",SI%,zoom%)
  return

 

J’en profite pour signaler une erreur dans la doc en ce qui concerne ce programme de démo :

Il manque un paramètre à la fonction CreateScrollImage (probablement une évolution de cette fonction qui est passée de 1 à 2 paramètres au fil du temps):
 

Capture d’écran:


Bon débogage et encore mille mercis pour KGF !
Revenir en haut Aller en bas
Klaus

Klaus


Nombre de messages : 12274
Age : 74
Localisation : Ile de France
Date d'inscription : 29/12/2009

KGF SCROLLIMAGE Empty
MessageSujet: Re: KGF SCROLLIMAGE   KGF SCROLLIMAGE EmptyVen 16 Fév 2024 - 0:39

Ok, je vais regarder cela. Merci !
Revenir en haut Aller en bas
http://klauspanoramic.comxa.com/index.html
Klaus

Klaus


Nombre de messages : 12274
Age : 74
Localisation : Ile de France
Date d'inscription : 29/12/2009

KGF SCROLLIMAGE Empty
MessageSujet: Re: KGF SCROLLIMAGE   KGF SCROLLIMAGE EmptySam 17 Fév 2024 - 12:31

J'ai corrigé un bug dans ScrollImage.
Recharge KGF.dll - il n'y a plus de plantage lors du survol.
Revenir en haut Aller en bas
http://klauspanoramic.comxa.com/index.html
Contenu sponsorisé





KGF SCROLLIMAGE Empty
MessageSujet: Re: KGF SCROLLIMAGE   KGF SCROLLIMAGE Empty

Revenir en haut Aller en bas
 
KGF SCROLLIMAGE
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Objet ScrollImage
» Version d'essai des objets ScrollImage et ScrollPanel

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
FORUM DE DISCUSSION SUR LE LANGAGE PANORAMIC :: Activité des sites créés par les Panoramiciens. :: Le site de Klaus-
Sauter vers: