VCX/SCX File Structure

Field Name

Type

Definition

Example

Platform

C (8)

VCX/SCX - Used to associate a specific platform for an object. In single-platform tables, every object has one record per platform. Cross-platform objects have one record per platform with the same UniqueID and are distinguished by the Platform field. For records that do not relate to a specific class or object, the Platform field contains the string "COMMENT". The header record (record #1) has Platform="COMMENT".

WINDOWS

UniqueID

C (10)

VCX/SCX - Unique ID code for individual classes and objects. Related cross-platform records share the same UniqueID value. For records which do not relate to a specific class or object, the UniqueID field contains information which describes the type of record. The header record (record #1) has Unique="Class".

SCX - Same as VCX except the header record (record #1) has UniqueID="Screen".

_QVW1055YU

TimeStamp

N (10)

VCX/SCX - This timestamp code relates directly to the date and time the object symbols were created or last generated. . The TimeStamp field for all records associated with a class are updated whenever the class is changed. For records that do not relate to a specific class or object, TimeStamp=0.

495748740

Class

Memo

VCX/SCX - Defines which class is used to create the subclass of the class or object member.

mycommandbutton

ClassLoc

Memo

VCX/SCX - Relative path and filename of the classed defined in the Class field. If the Class field specifies a Visual FoxPro built-in base class or the Class name specified is located in the same VCX, then the ClassLoc field is empty.

tsbase.vcx

BaseClass

Memo

VCX/SCX - Stores the name of the base class, or top most parent class in the class tree hierarchy, of class or object member.

commandbutton

ObjName

Memo

VCX/SCX - Defines the name of class or object member.

cmdCancel

Parent

Memo

VCX/SCX - References the immediate parent container object which the object is a member of. If an object member is not a child member of a container, the Parent field is empty.

form1

Properties

Memo

VCX/SCX - Lists properties and their set values which override the values defined in the parent class in which a class or object member is derived from.

Height = 22

Width = 69

FontSize = 8

Caption = "Cancel"

Name = "cmdcancel"

Protected

Memo

VCX/SCX - Lists all properties and methods which are marked as protected members for a class.

cAlias

dUpdated

Methods

Memo

VCX/SCX - Contains all snippet code of a class or object member.

PROCEDURE Click

thisform.Release()

ENDPROC

ObjCode

Memo

VCX/SCX - Stores the compiled p-code of source code stored the Methods field. The ObjCode is empty if the Methods field is empty.

Ole

Memo

VCX/SCX - Stores binary information for OLE class and object members.

Ole2

Memo

VCX/SCX - Stores binary information for OLE class and object members.

Comment

Memo

VCX/SCX - Stores class or object description which can be modified within the Comment property in the Properties window.

This button cancels the form.

Reserved1

Memo

VCX - Class tag field used to indicate the start of a class definition by storing the string "Class". If a record is not the start of a class definition, the Reserved1 field is empty.

SCX - Not used.

Class

Reserved2

Memo

VCX/SCX - Stores the number of records associated with a class including the class or container record. This field only contains a value for the first record of a class definition. If a class does not contain any object members, the Reserved2 field for the record which starts the class definition contains a 1. For records which are not the start of a class definition, the Reserved2 field is empty.

2

Reserved3

Memo

VCX - Lists all user-defined member names of a class with the member description separated by a single space character. One member is stored with its description per memo line. Standard property names are listed without a preceding character while array properties are preceded with "^" character and method names are preceded with a "*" character.

SCX - Not used.

CAlias
nResult
dUpdated
cMyProperty
^aNames[5]
^aMyArray[100]
*Print
*SortNames
*MyMethod

Reserved4

Memo

VCX - Stores the relative path and filename of the bitmap (BMP) of a custom class icon.

SCX - Not used.

bmps\cancel.bmp

Reserved5

Memo

VCX - Store the relative path and filename of the bitmap (BMP) for a custom Project Manager and Class Browser class icon.

SCX - Not used.

bmps\cancel.bmp

Reserved6

Memo

VCX/SCX - Stores scalemode (Pixels/Foxels) of a class or object.

Pixels

Reserved7

Memo

VCX/SCX - Stores class description which can be modified within the Class Info... dialog of the Class Designer.

This class releases the form.

Reserved8

Memo

VCX - Stores the string "NOINIT" if an object has NoInit checked marked in the Class Info.. dialog of the Class Designer.

SCX - Not used.

NOINIT

Reserved9

Memo

VCX/SCX- Stores the relative path and filename of the #INCLUDE file for all snippets.

..\vfp\foxpro.h

Reserved10

Memo

VCX/SCX - Reserved for future use.

User

Memo

VCX/SCX - Open for user-defined purposes.