Dieses Beispiel zeigt eine Einafche Anwendung:
Syntax: result = SysSetObjectData(name, setup) name The object name. This can be specified as an object ID (for
example ) or as a fully specified file name. setup A WinCreateObject setup string. result The return code from
WinSetObjectData. This will return 1 (TRUE) if the object was updated and 0 (FALSE) if the object was not updated.
Purpose: Change the settings of an existing object. It can also be used to open an instance of an object. Examples: /*
Code */ if SysSetObjectData("MyProgram","NOMOVE=YES") Then Say "Myprogram object settings have been
updated."
In this example, the object style is being changed, obviously in an attempt to 'user-proof' the program reference object.
Other useful strings for Workplace Shell objects generally (i.e. these are supported by the base class, WPObject)
aus:http://www.lesbell.com.au/REXXobj.html
Ich bin allerdings zu der Ansicht gekommen, daß diese Funktion naicht das leistet, was du möchtest. Ich neige jetzt zu der vermutung, daß mit SysPutEA du zum Ziel kommst, weil die Parameter der Files der Klasse WPDatafile in den EAs abgespeichert ist.
[ Leser: 97 ] |