Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One form positions; the other doesn't.
Message
From
01/08/1998 14:42:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
One form positions; the other doesn't.
Miscellaneous
Thread ID:
00123318
Message ID:
00123318
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform