Leszynski/Reddick Guidelines

S

Seth

Hi,

I’m trying to use Leszynski/Reddick naming conventions for all objects but
have come unstuck on the following:

1) Naming the different sections of a form (frmTestReports):
What prefix should I use for these names?
Detail
Form
FormFooter
FormHeader


2) What is a control object and what is a container object?
Is it correct to say that a subform is a control object and the ‘white box’
that represents the subform on the main form is a container object?

fsubModels (container object on main form)
sfrmModels (subform)

Is this correct?


Regards,
Seth
 
B

Brendan Reynolds

Detail, FormFooter and FormHeader are all sections, and the RVBA prefix for
a section is 'sec'. It is, in my experience, rarely used, though. Form can't
be renamed. The RVBA prefix for a subform control is 'sfr', while the prefix
for a form that is intended to be used as the Source Object of a subform
control is fsfr. You can view the RVBA conventions, or download them in PDF
format, at the author's web site, www.xox.net

I have to say that although I was once a proponent of these conventions, I'm
not so enthusiastic about them today. They have proved impractical in .NET,
where the object model is so huge that it is impractical to come up with
prefixes for every type, and impossible to remember them all if anyone did.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top