Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid & Memo and other problems...
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid & Memo and other problems...
Miscellaneous
Thread ID:
00227549
Message ID:
00227549
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform