Print Page | Close Window

Item.caption & item.value

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=4614
Printed Date: 21 December 2024 at 9:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Item.caption & item.value
Posted By: barianto
Subject: Item.caption & item.value
Date Posted: 19 July 2006 at 5:30am
Hi,

if recorditem properties value and caption both have content, when we edit which one is beign edit? value or caption?


I'm thinking of possibility, poperties value are double while caption are string.
Is that can be done?




Replies:
Posted By: SuperMario
Date Posted: 19 July 2006 at 9:12am
You are changing the value.  If you set the caption property then that is what you will always see displayed in the cell.  So to keep the changes visible in the cell, do not set the caption.

For example, if no caption is set, then the value of the cell is displayed in the cell and the caption will return the same thing as the value.  But if you set a caption, this text will always be displayed in the cell, regardless of the value.

In the samples no caption is set, this way the changes you make are applied to the value and also remain visible in the cell.



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