Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ReportSample 13.1.0 bugs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ReportSample 13.1.0 bugs

 Post Reply Post Reply
Author
Message
Kite View Drop Down
Groupie
Groupie


Joined: 10 May 2004
Location: Belarus
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kite Quote  Post ReplyReply Direct Link To This Post Topic: ReportSample 13.1.0 bugs
    Posted: 19 June 2009 at 3:35am
So bad quality of 13.1 version report control or I do not understand anything? I have Win 7 x64 RC, but I do not think that paint bugs related to OS version.
I just start ReportSample, make some clicks and see many paint problems. For example:
1. switch to IconView than switch back from IconView -> header has strange height,
2. turn on WYSIWYG. Than go to Print Preview and try to zoom in or scroll page - every time page is redrawn it draws different columns.
3. WYSIWYG red marker do not depend on horizontal scroller, I move horz scroller, bit marker stays on the same place.
4. I press small triangle on "From" column to hide columns, but after click it stays painted in pressed mode even if I release mouse.
5. Sort triangle is drawn in the wrong place on the column with markup text.
6. Is it possible to see report header in the icon view?
7. In the column's context menu I see markup source instead of column name.

Not impressed release at all, I thought it will have many new features, but again only small enhancements on the existing controls. Sorry for my bad english.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2009 at 11:42am
try this  update https://forum.codejock.com/uploads/DemoVersion/ReportControlUpdated.rar
and use a flag wndReportControl.ForcePagination = True
 
all your columns will be stable and PgUp/PgDn select proper pages and Zoom will keep current page
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2009 at 11:57am
Kite - are you make any effort to test beta-version of current 13.1 ocx?
also fix wrong VB Sample to use IconView in proper way
 
in the end ot frmMain Load function put lines
    wndReportControl.IconViewRowNumberSetup 3, 0, 1, 20
    wndReportControl.PaintManager.RecOrRowNumber = False
    wndReportControl.PaintManager.StartRecOrRowNumber = 1
 
and use simple function to switch modes
Private Sub mnuIconViewSample_Click()
    wndReportControl.IconView = Not wndReportControl.IconView
    mnuIconViewSample.Checked = wndReportControl.IconView
End Sub
Back to Top
Kite View Drop Down
Groupie
Groupie


Joined: 10 May 2004
Location: Belarus
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kite Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2009 at 12:17pm
Sorry but I'm not using ActiveX version, I'm using MFC version of Xtreme
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 04 July 2009 at 12:22pm
Even better - rebuild using fresh updated code from https://forum.codejock.com/uploads/DemoVersion/ReportControlMFCUpdated.rar
 
 
 
 
MFC Sample code for initialization (onCreate or OnInitialUpdate

wndReport.AssignIconViewPropNumAndIconNum(3, 0, TRUE, 40);

wndReport.GetPaintManager()->SetColumnWidthWYSIWYG(TRUE);

wndReport.m_bForcePagination = TRUE;

toggle function
void CVirtualListView::OnReportIconview() {

CXTPReportControl& wndReport = GetReportCtrl();

wndReport.SetIconView(!wndReport.IsIconView());

if (!wndReport.IsIconView())

wndReport.GetPaintManager()->m_strNoGroupBy = m_sGroupBox;

else

wndReport.GetPaintManager()->m_strNoGroupBy = _T("Virtual Mode Icon View");

}
 
 
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.047 seconds.