2007-10-17 16:29 UTC
As I look across the various properties that can be set for objects, I am curious if people are making use of the (VarName) property. It seems to allow for abbreviated referernces to OpenDCL objects instead of using fully qualified names.
[from the "Examples" directory, project LISTBOX.ODCL]
(dcl_LISTBOX_CLEAR ListBox_form1_listbox)
You could use this?
(dcl_LISTBOX_CLEAR frmMain_lstRecords)
...provided of course that you filled in the "(varName)=frmMain_lstRecords" in the property box for that particular listbox control?
My main question is this. Do you , as developers, use this feature, or is it just easier to use the fully qualified reference to keep everything straight. I can see this being the preferred method, especially since you may be "running" various DCL forms and objects from the same LISP project file.
[from the "Examples" directory, project LISTBOX.ODCL]
(dcl_LISTBOX_CLEAR ListBox_form1_listbox)
You could use this?
(dcl_LISTBOX_CLEAR frmMain_lstRecords)
...provided of course that you filled in the "(varName)=frmMain_lstRecords" in the property box for that particular listbox control?
My main question is this. Do you , as developers, use this feature, or is it just easier to use the fully qualified reference to keep everything straight. I can see this being the preferred method, especially since you may be "running" various DCL forms and objects from the same LISP project file.