|
-
August 8th, 2002, 03:41 AM
#1
Inserting numerical value in MSFlexGrid control?
Hi,
I'm wondering how to insert a numerical value in CMSFlexGrid control.
I tried converting the integer into string but it inserts blank .
Code:
........
int nValue = 3;
CString strValue;
strValue.Format("%i",nValue);
m_ctrlFlexGrid->SetTextMatrix(3,1,strValue);
.....
I tried whatever the method present in CMSFlexGrid nothing seems to be working except the insertion of string values.
Could any one rectify the problem.
Thanking you
Regards,
Mohan
Regards,
Mohan
-
December 5th, 2002, 09:43 AM
#2
Hi
try this : use the string variable to hold the integer value (like strValue = "integer" and place this value in the SetTextArray method of the control with of course the cell ID.
let me know how it works .
xcreator.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|