Print Page | Close Window

Field Chooser - D n D issue

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=4061
Printed Date: 30 April 2025 at 7:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Field Chooser - D n D issue
Posted By: LittleJK
Subject: Field Chooser - D n D issue
Date Posted: 26 April 2006 at 10:22am

Hi i looked at all the Report Control examples and I can not figure out how to get the field chooser to accept a column being dragged from the column header in the report control? We have the field chooser on a picture box placed in a docking pane. I'm wondering if this is the overall problem due to that it is not on a separate floatable form

thanks  




Replies:
Posted By: SuperMario
Date Posted: 26 April 2006 at 11:27am
Have you done this:

wndReportControl.FieldChooser = frmFieldChooser.wndFieldChooser


Posted By: LittleJK
Date Posted: 26 April 2006 at 11:41am

Due to that its on a picture box inside the form on a docking pane, we are declaring it as:
reportcontrol.FieldChooser = me.FieldChooser

We can drag columns into the Report Control from the Field Chooser but we can not drag the columns back... it seems like there is a focus problem due to that when we go to drag it back from the report control, the report control scrolls to the end of the Report Control and never catches the focus. Can it be a docking pane issue? But we did try the modal floating form with the exact code from the examples but it didn't work either.

thanks 



Posted By: LittleJK
Date Posted: 26 April 2006 at 2:25pm

Yeah we figured it out... our issue was that VB was getting confused over what to call because our naming convention of the controls were the same as calling the report control and it's objects.

example:
reportcontrol.fieldchooser = me.fieldchooser

once we renamed the controls to being

reportcontrol1.fieldchooser = me.fieldchooser1 it worked.

thanks  




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