fbmachines$2007050
fbmachines

02/28/2007 :: 16:44

Registered

Are there any plans to add an event when a picture is changed? I know that you could use "getstat = 0" but adding an event for it seems like it would be very beneficial.

Thanks
Corey
Loïc$2006306
Loïc

03/05/2007 :: 14:36

Registered

Hi,

I will add this event in the next release.

Best regards,

Loïc Carrère
fbmachines$2007050
fbmachines

03/09/2007 :: 06:16

Registered

Hey Loïc,
You are GREAT! I look forward to the next release. Keep up the good work and thanks for listening to suggestions.

Corey
fbmachines$2007050
fbmachines

03/10/2007 :: 21:15

Registered

I just installed 3.1.1 and all looks good. Thanks! At your convenience could you also add a picture changed event that would be triggered after the picture is loaded into the viewer?

Thanks again!
Loïc$2006306
Loïc

03/12/2007 :: 06:54

Registered

Hi Corey.

You can do that checking the Displayed() event method which must come after the PictureChange() event.


Best regards,

Loïc Carrère
fbmachines$2007050
fbmachines

03/19/2007 :: 22:13

Registered

Hey Loïc,
Well yes and no. I tried the Displayed() event but that event fires everytime an image is loaded into the viewer reguardless if it is the same image that already is shown in the viewer. The picturechange() event only fires before a new(different) image is loaded into the viewer.
Thanks
Loïc$2006306
Loïc

03/21/2007 :: 10:02

Registered

Hi,

You can do like that.



Dim bCatchPictureChange As Boolean


Private Sub gdViewer1_Displayed()
If bCatchPictureChange Then
Call PictureChanged
bCatchPictureChange = False
End If
End Sub

Private Sub gdViewer1_PictureChange()
bCatchPictureChange = True
End Sub





Private Sub PictureChanged()
...
End Sub




Best regards,

Loïc Carrère
back to forum