Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Imageviewer
Message
 
To
11/06/2010 03:27:05
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01467175
Message ID:
01468622
Views:
59
>What's that ?

It a doodle demonstrating the use of timers to control location and size of images. I use a version of it as an "atom" that spins in my tool bar. I read your previous post and responded.IMO - you may not need to consider timers and moving images.

If the app is a business app for a touch screen the a left menu for function and a horizontal for operations within the function (like the "My Computer" Dialog. It may be more efficient just to reuse the objects and [simply] change their captions [plus] include a switch routine in the method that will route to processes based on the current function.

>>Alessio
>>
>>The answer is obviously to use one form instead of 2 and use the imgCanvas to fade in /out the images.
>>
>>>Well, I made the image mixer myself by managing two different form using a timer and GDI+X
>>>these two forms are the background of my application.
>>>Actually I broke into this new problem :
>>>As I need to place a certain number of commandButtons over this changing backgound, i placed each of this commandbutton over
>>>a different form which is a toplevel form with the alwaysontop property set on .T. and a bit trasparent too.
>>>What happened is that I cannot click the button unless I select the form first. What can I do ? The application need to be managed
>>>by a touch screen.
>>>
>>>Thanks
>>>Alessio
>>>
>>>>>Hi all,
>>>>>I want to switch the background picture of a form from a picture to another with a rtansition effect.
>>>>>I was thinking about placing an ocx which can do the job on that form, but I havent- found one yet.
>>>>>
>>>>>thanks
>>>>>Alessio
>>>>
>>>>As Sergey said, an activex would cover everything on the form.
>>>>
>>>>If it is only a simple Fade-In/Fade-Out transition that can be done easily using GDI+X and a timer.
>>>>
>>>>Basically you add an imagecanvas object and a timer. You create 2 graphic objects and then you increase the Alpha of one while reducing the alpha of the other.
>>>>
>>>>I have already created such a class so if your email here on the UT is current let me know and I will send the class and sample form to you.
>>>>
>>>>Bernard
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform