Thursday, March 29, 2012

Maximum Number of controls?

Is there a maximum number of controls for a page?
This may sound wrong but i think i have hit it.
When I switch between the code tab and the form tab the program automattically re-dim's a controls, so then it says that "blah blah control is already declared" that is because it declared itself twice, also sometimes when i complile it closes the development environment
It has slowed down the development environment tremendiously too
does anyone know of the limitations or how I may be able to fix this problemthe reason you are probably getting the

"blah blah control is already declared" that is because it declared itself twice"

is because you may be using identical id's for the controls. Make sure they have different ids.
no here is the problem.
while it is trying to debug itself it re-declares some controls.
there are no duplicate controls, it is not doing this while i rename a control it is doing it while it is doing the debug phase.
if i remark the new declaration it created at the bottom of the page it works properly
it just keeps adding the declarations on its own, and also sometimes when it delete a control in the gui it doesnt delete the declaration in code view

No comments:

Post a Comment