Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three control Monty - now you see it, now you don't
Message
De
23/03/2002 13:30:50
 
 
À
23/03/2002 10:12:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00636435
Message ID:
00636461
Vues:
20
This message has been marked as the solution to the initial question of the thread.
Glenn,

I've added a line that sets the textbox Visible to .T.
That is the most likely cause

>Thanks for the reply Hilmar. Changing sparse does no correct the problem. I am using code like this:
>
>If pemstatus(oCol,'Text1',5)
>	If Not pemstatus(oCol,'btext1',5)
>		oCol.AddObject('bText1',lcTextClass)
>		For i = 1 To Amembers(laProp,oCol.Text1)	&& Get all properties
>			If pemstatus(oCol.Text1,laProp(i),0) And laProp(i) # 'NAME'
>				Store Eval('ocol.Text1.'+laProp(i)) To ('ocol.bText1.'+laProp(i))
>			Endif
>			Store oCol.Text1.Width To oCol.bText1.Width
>			Store oCol.Text1.Height To oCol.bText1.Height
>			oCol.Sparse=.T.
>		Endfor
>		oCol.CurrentControl = 'bText1'

                oCol.bText1.Visible = .T.


>	Endif
>	oCol.RemoveObject('Text1')
>ENDIF
>
>
>I am doing this because I am trying to allow dynamic grid configurations based upon desired behaviors. For instance If grid sorting is required I would load the grid with the appropriate controls at runtime, but if sorting is not required the normal control will suffice.
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform