Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 11th, 2006, 12:41 AM
Registered User
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default "can grow" properity

Hi all,

I found that the default "can grow" in Crystal Reports 10 is different from the one in Crystal Report 9.

In version 9, when "can grow" is disable, the words in the field are chopped off and doesn't not warp around to the next line.

In version 10, when "can grow" is disable ,the text would overlap the field next to it if the text is too long, to make it field behave the same as version 9, I have to enable the "can grow" property and set the limit to 1.

I am wondering if I can change the default "can grow" property to behave like version 9, so that I don't have to go to each of the report to change each fields' "can grow" property (that is a nightmare!!).

Welles


 
Old April 11th, 2006, 12:54 PM
Registered User
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured out that I can programmatically set the can grow properity, but I can't find the way to set the limit for the can grow properity. Does any expert know how to set the limit?

//myReport is a report object, myField is a field object.
((FieldObject)myReport.ReportDefinition.ReportObje cts["myField"]).ObjectFormat.EnableCanGrow = true;








Similar Threads
Thread Thread Starter Forum Replies Last Post
drop down default value MunishBhatia ASP.NET 2.0 Professional 4 September 5th, 2007 10:31 AM
What does this("Default Name") mean? webworldman C# 0 July 28th, 2006 07:55 AM
tables grow on their own stp Dreamweaver (all versions) 6 June 5th, 2006 02:38 AM
default ambrosejp SharePoint Admin 2 April 20th, 2006 01:56 PM
default fontsize jstewie Javascript How-To 1 July 13th, 2005 11:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.