你要先了解表单的 SCX 文件的结构,然后做个填表的程序。
SCX 文件的结构的说明:
Here are the fields in the VFP SCX structure, and their meanings:
Platform: Identifies the object's platform
Uniqueid: Contains a unique identifier for the object
Timestamp: Specifies the last time the object was changed
Class: Memo contains the name of the object's class
Classloc: If the class is not a base class, the memo contains the .VCX file name containing the class definition. If the class is a base class, the memo is empty.
Baseclass: If the class is a base class, the memo contains the name of the class. If the class is not a base class, the memo is empty.
Objname: Memo contains the object's name
Parent: Memo contains the name of the object's container
Properties: Memo contains a list of the object's properties and their values that are different from the values of the class properties
Protected: Memo contains a list of the object's protected members
Methods: Memo contains the object's event code
Objcode: Memo contains the compiled version of the event code in binary format
Ole: Memo contains binary data used by ActiveX controls
Ole2: Memo contains binary data used by ActiveX controls
Reserved1: Reserved
Reserved2: Reserved
Reserved3: Reserved (The visibility, names, and documentation of custom members.)
Reserved4: Reserved
Reserved5: Reserved
Reserved6: Reserved
Reserved7: Reserved
Reserved8: Reserved
User: Memo is reserved for developer