General information
Category:
ActiveX controls in VFP
Yes, that's what I wanted to do at first but ... I was asked if it was possible to have a changing background and if buttons could be a bit transparent and freely placed on the screen.
I tried many roads, using layered forms. I also create a top level trasparent form for each button but... i noticed that i had to click over its border to activate it before the button or the image contained became enabled. The other problem was that I had a rectangular shape
of the form alo if the button is circular... it's a pity VFP don't support png trasparency :(
Actually I'm trying to put all the buttons on a single trasprent top level form..
The application is not a pos application but jus a totem information point :)
thank you for your reply
Alessio
>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only