Posted on 2006-03-29
I got a form with a calender on it, one full year, one small label for every day to set free days and such for a simple employee management application.
Actually, 12 months 7 days per week and at most 6 (sometimes partial) weeks in a month, that means 6x7x12 = 504 labels. I tried both creating at runtime and creating in desginer.
The redraw is very very slow.
I got the old VB6 app here and it's a lot faster.
This is no real big deal but it's anoying me.
Any idea how to solve this? I don't mean by removing controls or somehow splitting it over tabs or whatever. I mean specifically increase the speed of redraw. Or prevent redraw?? Would that still leave things working properly and can this be done?
Also a colleague has a big grid with Format stuff in the cells, also very slow. Can this be improved?
I don't want to spend much time on trying to solve this, I'm just hoping on some fairly simple solution, maybe disable certain features of the form, the labels or whatever.