Ashish Sharma
August 22nd, 2001, 05:51 PM
hi,
I have a application which writes text in a column of a MSflexgrid, flexgrid is wordwarp enabled , so the text may wrap around. My problem is that i have to indent the second and subsequent lines in that column.
I have used sendMessage with EM_LINEINDEX to get the first character index of each line after the first line, by placing the text in a text box first. before every first character i introduce a vbcrlf and space and then concatenate lines together, so it displays just the way i want in the text box, but this wont work in the flexgrid becuase that text with spread over to the next columns if i do additem, or if i try any other way, the text is not displayed after the first line.
Is there anyway to get around with this problem....!!
I will be very thankfull.
I have a application which writes text in a column of a MSflexgrid, flexgrid is wordwarp enabled , so the text may wrap around. My problem is that i have to indent the second and subsequent lines in that column.
I have used sendMessage with EM_LINEINDEX to get the first character index of each line after the first line, by placing the text in a text box first. before every first character i introduce a vbcrlf and space and then concatenate lines together, so it displays just the way i want in the text box, but this wont work in the flexgrid becuase that text with spread over to the next columns if i do additem, or if i try any other way, the text is not displayed after the first line.
Is there anyway to get around with this problem....!!
I will be very thankfull.