![]() |
in-item progress indicators in ReportCtrl |
Post Reply
|
| Author | |
securigy
Groupie
Joined: 23 November 2007 Status: Offline Points: 41 |
Post Options
Thanks(0)
Quote Reply
Topic: in-item progress indicators in ReportCtrlPosted: 14 July 2009 at 3:56pm |
|
How would you go about including progress indicators in each row or report control, something similar to this:
![]() |
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 July 2009 at 8:15pm |
|
We already had similar item - as CXTPReportRecordItemPercentNumber:
//----------------------------------------------------------------------- // Summary: // Call this member function to Store/Load a report record item // using the specified data object. // c-tr can pass value and color to draw like task manager percent complete field // Parameters: // dValue - double value // clr - color // bPercentCompleteDisplay - show as colored rect inside //-----------------------------------------------------------------------CXTPReportRecordItemPercentNumber( double dValue = 0, COLORREF clr = RGB(224,224,224), BOOL bPercentCompleteDisplay = TRUE);//----------------------------------------------------------------------- // Summary: // Should be overridden by descendants for drawing itself. // Parameters: // pDrawArgs - structure which contain drawing arguments. // pMetrics - structure which contain metrics of the item. //----------------------------------------------------------------------- void OnDrawCaption(XTP_REPORTRECORDITEM_DRAWARGS* pDrawArgs,XTP_REPORTRECORDITEM_METRICS* pMetrics); public :COLORREF m_clr; //colorBOOL m_bPercentCompleteDisplay; //flag}; |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |