![]() |
Field Chooser - D n D issue |
Post Reply
|
| Author | |
LittleJK
Senior Member
Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Quote Reply
Topic: Field Chooser - D n D issuePosted: 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 |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 April 2006 at 11:27am |
|
Have you done this:
wndReportControl.FieldChooser = frmFieldChooser.wndFieldChooser |
|
![]() |
|
LittleJK
Senior Member
Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Quote Reply
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: 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 |
|
![]() |
|
LittleJK
Senior Member
Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Quote Reply
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: once we renamed the controls to being reportcontrol1.fieldchooser = me.fieldchooser1 it worked. thanks |
|
![]() |
|
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 |