said:
>I still don't quite get the difference between a program file object and
>a program object. A program file object gets created when you open the
>file where the program lives, but it sure looks the same in its
>properties as an object you create from a template (if a window button
>is selected).
A program file object represents a physical file. If you delete the
object, the file is deleted too.
A program reference object is an abstract object. It only refers to the
file object. If you delete the reference object, the physical file is not
deleted. In this sense, a program reference object is like a shadow.
If you change the properties of a program reference object, the properties
of the underlying program file object do not change. In this sense, a
reference object differs from a shadow.
Program reference objects are useful because they allow you to run the
same program with differing parameters. Also, they allow you to give the
object a more descriptive title than the program name itself.
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.67 #10183 Warp/eCS/DIY/14.103a_W4
www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 21 |
December |
2006 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.