loop
using the corsor keys loads the next image to pic2
pic2 is now centred in the screen
pic3 get now pic1 but only the size of pic2
pic3 now fades from his image to pic2 image
pic1 should now become exact the copy of pic3 (Store)
loop end
I get confused but have a look on the code and you get the
idea behind.
Thanks in advance
BTW Please insert in the resource file on possition 102 to 109 own pictures.
after the proc InnenNachAussenBlende
pic1 (visible false) should now becom the exact copy of
pic3 (visible true)
then pic1 gets visible and pic3 visible false
But when you trace you will find out pic1 has not the
image of pic3 in the next loop - it cointains
still ithe image 101 from the resource file
But pic1 should still contain the image of the pic3
use the proc see (num) to see the different pics while debugging
pic1 = for storing a picture. To have a startpic in there I use 101 in the res file. Autosize = false, size is vbmaxsize
pic2 acts as the "load picture box" all pictures will be loaded via pic2. Autosize = True
pic3 is actually the main pic. in there all things happen. Autosize = false, size is vbmaxsize
Status
1st step Start app
pic1 has the init picture from the res file, is visible
pic2 = empty
pic3 = empty
2nd step load pic
pic1 still the same
a) pic2 contains now the loaded picture and will be resized
b) pic3 gets now the pic1 picture but only the size of the loaded pic2
3thd step display
pic3 will now by doing some effects showing the pic2(loaded)
Now we have the following state
Pic1 = still the int picture
pic2 = a loaded picture
pic3 = has now the loaded picture also
here I have the problem
pic1 should now become pic3 (to store the last seen pic)
and the circle will stat again in step 2a.
In pic1 should now the last stored image but as soon I try to
perform action 2b the picture in pic3 is still the initial picture,
and not the last stored
BodwadUK - yes I tried it and it looked good, BUT ...
sorry as soon I put the pic1 and pic3 back there possition
needed in my app it did not work anymore.
See the attached file. I did only cange on the form the
initial size of pic1 and pic3 and in the code I uncommented
the bits which are needed.
So if you run now the app like it is you will see that
when we transorm from pic1(store/last image) to pic 3(hadle GUI)
the initial picture from pic1 still is there
As I mentioned let it first run without any changes and you will see.
after passing the image from pic3 to pic1 there must be
the following statement
pic1.picture = pic1.image
pic1.refresh
then the picture is stored or whatever in the picturebox.
Otherwise the pic is only in memory and therefore the initial
pic is permanently the picture.