Print Page | Close Window

multiline cell does not allow text entry

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19084
Printed Date: 23 November 2024 at 8:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: multiline cell does not allow text entry
Posted By: mar72vin
Subject: multiline cell does not allow text entry
Date Posted: 18 October 2011 at 11:11pm

I am attempting to get a multiline cell to work. I have set the following.

Column.Alignment = XTPColumnAlignment.xtpAlignmentWordBreak;

Column.EditOptions.EditControlStyle = XTPReportEditStyle.xtpEditStyleMultiline;

reportcontrol.PaintManager.FixedRowHeight = false;

My problem is that if a user fills the current length of the cell with text the report control prevents further input.

 The user then needs to leave that cell and begin editing again so that another line is added and they can append more text.

 I would have expected that the user could continue to type and the text would be wrapped to the next line as they were typing.

I have also noticed that if the cell is shorter than the text being pasted from the clipboard the report control does not allow the paste. I would have thought I could paste any length string into a cell and it would be word wrapped to accommodate?

Also is there a way that the report control can accept the enter key as input (to add a line break to their text).


I have also submitted a ticket about this Issue #27462


-------------
Product: Xtreme Report Control (ActiveX) version 15.1.3
Platform: Windows 7 (64bit)
Language: c#



Replies:
Posted By: Aaron
Date Posted: 04 November 2011 at 4:42am
Hi,
 
This will scroll text automatically:
 
.Alignment = xtpAlignmentWordBreak
.EditOptions.EditControlStyle = xtpEditStyleMultiline + xtpEditStyleAutoVScroll
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net