Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to spin a fan
Message
From
17/09/2008 10:13:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348217
Message ID:
01348220
Views:
27
This message has been marked as the solution to the initial question of the thread.
>I am tring to build a fan and force it to spin, with shapes and a timer
>
>It is for a refrigeration lesson
>
>Could anybody force it to spin and maybe turn it more realistic ?
>
>It looks amateur and does not spin :(
>
>http://www.acrisoft.bizland.com/fan.rar
>
>TIA
>
>Moises

Decreasing the timer interval and:

* Timer
thisform.uP.visible = !thisform.uP.visible
thisform.down.visible = !thisform.down.visible
thisform.RIGHT1.visible = !thisform.RIGHT1.visible
thisform.LEFT1.visible = !thisform.LEFT1.visible

makes that slighty better IMHO.


If you need a realistic fan either use an animated gif (I believe you could find many on internet) or use GDI+ graphics (check Cesar Chalom's pages)


PS:
http://www.hazenworld.com/gifgallery15.html
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform