>>>>>Is there a way to copy a form and all of its contents?
>>>>>
>>>>>I have an application where I need to present basically the same form on the screen, but using different tables (viewing history as opposed to viewing current data).
>>>>>
>>>>>Thanks in advance. - CH
>>>>
>>>>It's appropriate situation to save and use this form as a class. Surely, you can get simple solution too by copying/renaming scx/sct files.
>>>
>>>Edward: Thanks for the advice. I found a real easy way to copy/rename is to pull up the form and use File > Save As... Re: Classes, I'm beginning to understand a little more about classes, but still haven't arrived at a good practical usage understanding. I understand that a class is a template or blueprint that defines the characteristics of an object and describes how the object should look and behave. I tried saving my Form as a class (I named it 'Browse', since that's how I was using it mainly - to look at records in a grid), but then I couldn't figure out how to get that class to another form as simply as just opening the form and using File > Save As ...
>>>
>>>I really appreciate all the help I get on UT, and I'm trying to put in tid-bits of help where I can, esp. in the Windows NT/95 forum, which is my forte and what I am certified in. Thanks Again, CH.
>>
>>When you have form class, you instanciate form objects from this class using CREATEOBJECT(). The obvious advantage of a class (and subclassing) is that you can create multiple instances which will inherit common things and acquire distinctions.
>
>I still don't understand why I would want to do a bunch of coding using CREATEOBJECT() to sort of manually build a form, when I can do it visually in the form designer. Maybe you can expound just a little bit more to show me where I'm misunderstanding this.
CREATEOBJECT() doesn't build form manually. It just looks at class definition and creates (in run-time) instance of this class- object which will inherit all PEMs. Class itself will be created visually using Class Designer.
Edward Pikman
Independent Consultant