<snip>
Is it essential to have a separate method to Add Controls or can it be done
in the Init method? (The separate method in the original code was added to
try to eliminate the error.)

Ooohhhh, a philosophy question. 😉

IMHO best practice would be to have a method to populate the form controls, as 
Tracy showed, and then call that in the appropriate place, as opposed to dozens 
(hundreds) of lines adding each control, setting its properties, etc.

--

rk
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/mn2pr10mb3407b33fcfc3528dd905ac2fd2...@mn2pr10mb3407.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to