Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Field Chooser - D n D issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Field Chooser - D n D issue

 Post Reply Post Reply
Author
Message
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Topic: Field Chooser - D n D issue
    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  

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: 26 April 2006 at 11:27am
Have you done this:

wndReportControl.FieldChooser = frmFieldChooser.wndFieldChooser
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post 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 

Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post 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  

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.061 seconds.