The advantage of this approach is that you can have (for example) a container.value method that can return/set the correct textbox without you having to worry about the textbox names etc. This abstraction makes using the controls much easier.
-- Michael Hawksworth Visual Fox Solutions
Michael (AT) foxpro D.OT co.uk www.foxpro.co.uk
©2006 Michael Hawksworth |