Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One form positions; the other doesn't.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00123318
Message ID:
00123423
Vues:
14
Peter,

I can't either at first look. So it may have something to do with the addobject() commands. On your second form, replace the
ADD OBJECT cntbizassoc2 AS bizassoc2 WITH ;
	Name = "cntbizASSOC2", ;
with
ADD OBJECT cntbizcalend AS bizcalend WITH ;
	Name = "cntbizCALEND", ;
and see if it makes a difference. If so, look at your container classes for any code relating to THISFORM or PARENT.

HTH
Barbara

>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
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform