Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form Properties
Miscellaneous
Thread ID:
00146145
Message ID:
00146145
Views:
71
I have a class based on a form which has a grid & some buttons.
I have a data entry form using the above class. The program is generatign an error saying that alias not found. I create & open the cursor in the load event. This worked fine in VFP 5.0. In VFP 6 I get an error. When I open the scx file and looked at the form record It had the grid as its properties.

*****properties field of the form record.
Height = 366
Width = 733
DoCreate = .T.
Caption = "Physical Stock Update"
keyfieldname = tempfile.stockcode
firstfield = this.itemgrid
Name = "PHYSICALSTOCK"
Olecontrol1.Top = 345
Olecontrol1.Left = 0
Olecontrol1.Height = 21
Olecontrol1.Width = 204
Olecontrol1.ZOrderSet = 6
Olecontrol1.Name = "Olecontrol1"
Resizable1.Name = "Resizable1"
SaveButton.AutoSize = .F.
SaveButton.Top = 312
SaveButton.Left = 240
SaveButton.ZOrderSet = 1
SaveButton.Name = "SaveButton"
CancelButton.Top = 312
CancelButton.Left = 336
CancelButton.ZOrderSet = 2
CancelButton.Name = "CancelButton"
CloseButton.Top = 312
CloseButton.Left = 552
CloseButton.ZOrderSet = 3
CloseButton.Name = "CloseButton"
DeleteButton.Top = 312
DeleteButton.Left = 12
DeleteButton.ZOrderSet = 4
DeleteButton.Name = "DeleteButton"
ItemGrid.ColumnCount = 5
ItemGrid.Column1.FontSize = 8
ItemGrid.Column1.ControlSource = "tempfile.stockcode"
ItemGrid.Column1.CurrentControl = "Seekcontainer1"
ItemGrid.Column1.Width = 101
ItemGrid.Column1.Sparse = .F.
ItemGrid.Column1.Name = "Column1"
ItemGrid.Column2.FontSize = 8
ItemGrid.Column2.ControlSource = "tempfile.descript"
ItemGrid.Column2.Width = 287
ItemGrid.Column2.Name = "Column2"
ItemGrid.Column3.FontSize = 8
ItemGrid.Column3.ColumnOrder = 3
ItemGrid.Column3.ControlSource = "tempfile.location"
ItemGrid.Column3.CurrentControl = "Cybercombobox1"
ItemGrid.Column3.Width = 71
ItemGrid.Column3.Name = "Column3"
ItemGrid.Column4.FontSize = 8
ItemGrid.Column4.ColumnOrder = 5
ItemGrid.Column4.ControlSource = "tempfile.quantity"
ItemGrid.Column4.Width = 102
ItemGrid.Column4.Name = "Column4"
ItemGrid.Column5.FontSize = 8
ItemGrid.Column5.ColumnOrder = 4
ItemGrid.Column5.ControlSource = "tempfile.stock"
ItemGrid.Column5.Width = 134
ItemGrid.Column5.Name = "Column5"
ItemGrid.Height = 281
ItemGrid.Left = 12
ItemGrid.Panel = 1
ItemGrid.RecordSource = "tempfile"
ItemGrid.RowHeight = 24
ItemGrid.Top = 12
ItemGrid.Width = 720
ItemGrid.ZOrderSet = 5
ItemGrid.Name = "ItemGrid"
ProgressBar.Top = 348
ProgressBar.Left = 204
ProgressBar.Height = 16
ProgressBar.Width = 432
ProgressBar.Visible = .T.
ProgressBar.ZOrderSet = 7
ProgressBar.Name = "ProgressBar"
stock.Name = "stock"

Why is the Grid a property of the form ?
This is driving me crazy


TIA
Fred
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Next
Reply
Map
View

Click here to load this message in the networking platform