All Forums
 Microsoft Windows CE
 General CE
 Slowness (eVB app)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

steve

28 Posts

Posted - 18 Dec 2002 :  12:42:28  Show Profile  Email Poster
The program that we're developing has no reason to be processor intensive, but still tends to run slowly. We're using eVB and for hardware are using both the keypad and the UCB style port on a Bitsy Plus. Using the grid control in eVB, the updates to the screen are obvious, and seem out of line for a device of this capability.
Do you have any tips for speeding up the device, and any coding pitfalls we should look out for?
Thanks!
-Patrick
Magnatech LP

ctacke

877 Posts

Posted - 18 Dec 2002 :  12:50:32  Show Profile  Email Poster
The eVB Grid control itself is pretty resource intensive, plus the eVB interpreter isn't fantastic with screen refreshing. The best thing to do is to set the control's Visible property to False before adding/removing data and then setting it back to True when you're done. Often it won't even flicker by doing so.
Go to Top of Page

steve

28 Posts

Posted - 18 Dec 2002 :  13:15:22  Show Profile  Email Poster
Setting the Visible property was one of the first ideas I had, at the begining of development. It seemed to be effective at first, but now as we add more and more to the project, the problem has returned. Once the Visible is turned back on, the paint that is done seems to be slow. Maybe I'll check the timing of when I control it.
-Patrick
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000