Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Item.caption & item.value
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Item.caption & item.value

 Post Reply Post Reply
Author
Message
barianto View Drop Down
Groupie
Groupie
Avatar

Joined: 01 May 2006
Location: Indonesia
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote barianto Quote  Post ReplyReply Direct Link To This Post Topic: Item.caption & item.value
    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?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.