Beginner

What's a good rule of thumb for how much code you put into a form and what you should seperate and put into a module?
XmanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Amir101298Connect With a Mentor Commented:
Hi

Your form should be treated as a single
object. Containing all methods and properties form that form.

A module is a collection of methods and properties you wish to use, or share, have available to a number of forms or modules.

see ya



0
 
tkuppinenCommented:
I hesitate to give you a hard number on the amount of code that should go into a form.  Rather you should be looking at your coding techniques.  Are you coding as effeciently as possible? The more you code the more effecient you will become.  

A good example would be repetitiveness.  If you start repeating lines of code in various places, you should probably be looking at creating sub procedures or functions as the situation dictates.
0
All Courses

From novice to tech pro — start learning today.