Setting limit on CXTPReportRecordItemText |
Post Reply |
Author | |
rag6419
Newbie Joined: 07 March 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 26 May 2006 at 9:00pm |
I was wondering if anyone knew if there is a way to limit the length of text when modifying a CXTPReportRecordItemText.
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Just setup corresponding Edit Options. For example, when adding a column:
-- WBR, Serge |
|
rag6419
Newbie Joined: 07 March 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
m_nMaxLength isn't a member of CXTPReportRecordItemEditOptions.
We are using 9.80, is that something introduced after 9.80?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Yes, it's available in recent versions only.
With 9.80 you can try to handle RequestEdit event, get inplace edit and limit it's text: GetReportCtrl().GetInplaceEdit()->SetLimitText(20); -- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |