Print Page | Close Window

Value While In Edit Mode

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=5699
Printed Date: 19 September 2024 at 1:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Value While In Edit Mode
Posted By: barianto
Subject: Value While In Edit Mode
Date Posted: 05 December 2006 at 8:33pm
Hi,
How to get value while we are in Edit Mode in ReportControl with Column.EditOptions.AddComboButton.

Example, the value on the cell was "20001", then user change it to become "20", and then click combo button. When i try to get that cell value, it's still "20001".

Thanks




Replies:
Posted By: sserge
Date Posted: 11 December 2006 at 3:30pm
The only way is to apply changes and start edit again like below:

Private Sub wndReportControl_InplaceButtonDown(ByVal Button As XtremeReportControl.IReportInplaceButton)
    ...
    wndReportControl.EditItem Button.Row, Button.Column
    newValue = Button.Item.Value
    ...


--
WBR,
Serge



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