![]() |
FieldChooser has no entries |
Post Reply
|
| Author | |
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Topic: FieldChooser has no entriesPosted: 21 April 2008 at 7:41am |
|
Hi,
My question was:
Why do you need the FieldChooser?
|
|
![]() |
|
Chusoft
Newbie
Joined: 03 November 2004 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2008 at 6:25am |
|
For vb.net Code it like this:
dim _FieldChooser as New frmFieldChooser()frmFieldChooser.Owner = MefrmFieldChooser.ShowInTaskbar = False 'Displays a form with a FieldChooser control Me.frmFieldChooser.Show()Dim FieldChooserOcx As XtremeReportControl.FieldChooser = (CType(_FieldChooser.wndFieldChooser.GetOcx(), XtremeReportControl.FieldChooser)) 'Associates a FieldChooser control with a ReportControl on another form 'This is necessary so the ReportControl knows where to find the FieldChooser so it can 'add and remove column headers. Me.wndReportControl.FieldChooser = FieldChooserOcx |
|
|
ChuSoft
|
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2008 at 3:06am |
|
Hi,
Why do you want to use the FieldChooser at all? Dragging columns to the GroupBox will have the same effect. At least as I see it, if I'm wrong please tell me. I wanted to use the FieldChooser but it didn't work as expected.
|
|
![]() |
|
Chusoft
Newbie
Joined: 03 November 2004 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 April 2008 at 12:44pm |
|
I have converted my application from vb6 to VS2008.
On the form with the ReportControl, I load the data into the ReportControl
Setting the visible and showinfieldchooser as approiate.
The data displays fine and only the columns that should be displayed are displayed.
When I select the menu item to show the fieldchooser, the code that
is excuted is the same as the sample in ReportControl.
The form is display, but the fieldchooser control is empty(has no entries)
and there should be.
What is the prolbem.
The sample "ReportControl" does work properly.
![]() |
|
|
ChuSoft
|
|
![]() |
|
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 |