I'm trying to make all of my main data forms
instantiate at form position Left=0, Top=54.
I'm batting about 25%!
This form works properly:
**************************************************
*-- Class: frmcalend2 (c:\vfe5\samples\massone\libs\aforms.vcx)
*-- ParentClass: cbizobjform (c:\vfe5\common30\libs\cforms.vcx)
*-- BaseClass: form
*
DEFINE CLASS frmcalend2 AS cbizobjform
DataSession = 2
Top = 54
Left = 0
Height = 384
Width = 640
DoCreate = .T.
ShowTips = .T.
AutoCenter = .F.
BorderStyle = 1
Caption = "RCI Calendar Setup Form"
ControlBox = .T.
Closable = .T.
MaxButton = .F.
MinButton = .F.
Movable = .F.
csecurity = ""
lallowresize = .F.
ctoolbar = "CNAVTOOLBAR"
Name = "frmcalend2"
OSESSIONENVIRONMENT.Clabel1.Name = "Clabel1"
OSESSIONENVIRONMENT.Name = "OSESSIONENVIRONMENT"
ADD OBJECT cntbizcalend AS bizcalend WITH ;
Name = "cntbizCALEND", ;
etc.
And this form fails. (It appears in the middle
of my screen):
**************************************************
*-- Class: frmassoc2 (c:\vfe5\samples\massone\libs\aforms.vcx)
*-- ParentClass: cbizobjform (c:\vfe5\common30\libs\cforms.vcx)
*-- BaseClass: form
*
DEFINE CLASS frmassoc2 AS cbizobjform
DataSession = 2
Top = 54
Left = 0
Height = 384
Width = 640
DoCreate = .T.
ShowTips = .T.
AutoCenter = .F.
BorderStyle = 1
Caption = "Association and Sub-association Setup"
ControlBox = .T.
Closable = .T.
MaxButton = .F.
MinButton = .F.
Movable = .F.
csecurity = ""
lallowresize = .F.
ctoolbar = "CNAVTOOLBAR"
Name = "frmassoc2"
OSESSIONENVIRONMENT.Clabel1.Name = "Clabel1"
OSESSIONENVIRONMENT.Name = "OSESSIONENVIRONMENT"
ADD OBJECT cntbizassoc2 AS bizassoc2 WITH ;
Name = "cntbizASSOC2", ;
etc.
I cannot see any difference other than the name and
the caption!
Any one have a clue?
Peter Robinson
Peter Robinson ** Rodes Design ** Virginia