Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field odditity in the dynamically created grid
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Memo field odditity in the dynamically created grid
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00987955
Message ID:
00987955
Views:
96
Hi everybody,

I was showing my old applications to my colleague and he noticed that for memo fields the word Memo or memo is displayed, but we can not click on it - nothing happens.

The grid is build dynamically in the Page activate with the custom form's method BldGrid which has the following code:
with loGrid
*--- Walk through array adding a column to the passed grid for each item in array list.
	lfor = alen(laColumns,1)
     .ColumnCount = m.lFor
*      Add column to grid.
*!*			.addcolumn(m.i)   && Insert column
*!*			.columncount = m.i	&& Increment columncount	
	for i=1 to m.lfor
*--- Parse out alias and field.
*		lcField = substr(laColumns[m.i,1],at(".",laColumns[m.i,1])+1)
		.columns(m.i).controlsource = laColumns[m.i,1]	&& Assign controlsource
		
		.columns(m.i).header1.caption = laColumns[m.i,2]
endfor
Do you see what could be wrong here? Setting RecordSource to "" and back to the table didn't cure the problem.

Thanks a lot 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