Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid & Memo and other problems...
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid & Memo and other problems...
Divers
Thread ID:
00227549
Message ID:
00227549
Vues:
63
Hi everyone,

Sorry for this simple question. My problem is:
I have a grid which I populated in Init method with following:
   FOR i=1 TO ALEN(lafieldlist,1)
	This.addcolumn(This.columncount+1)				&& Add column to the end
	lcCaption=Proper(SUBSTR(lafieldlist[i],AT(".",lafieldlist[i])+1))
	if left(lcCaption,3)="Adc"
	   lcCaption="ADC"+Proper(substr(lcCaption,4))
*!*		   This.columns(i).AddObject('chkADC','checkbox')  && Add checkbox
*!*		   This.columns(i).chkADC.Caption=""
*!*		   This.columns(i).chkADC.Visible=.T.	   
*!*		   This.columns(i).CurrentControl="chkADC"
	endif   
	
	This.columns(i).header1.caption = lcCaption		&& Add header
    lnWidth=fsize(lcCaption)
    lnWidth=iif(lnWidth>30,lnWidth-20,lnWidth)
    This.columns(i).width= MAX(lnWidth,len(lcCaption) ) * THIS.FONTSIZE
	This.columns(i).controlsource = lafieldlist[i]	&& Assign controlsource
ENDFOR  
First of all, I display Memo field "Notes", but I can not see it's content - dblClick, Ctrl+Home - nothing works. How can I solve this problem?

Second, I have 3 logical fields - I want to show Yes/No instead of T or F and I want these fields are editable.


Thanks in advance
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform