Print Page | Close Window

FieldChooser has no entries

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=10130
Printed Date: 10 November 2024 at 7:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FieldChooser has no entries
Posted By: Chusoft
Subject: FieldChooser has no entries
Date 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



Replies:
Posted By: Aaron
Date 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.


Posted By: Chusoft
Date Posted: 21 April 2008 at 6:25am
For vb.net Code it like this:

dim _FieldChooser as  New frmFieldChooser()

frmFieldChooser.Owner = Me

frmFieldChooser.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


Posted By: Aaron
Date Posted: 21 April 2008 at 7:41am
Hi,
 
My question was:
 
Why do you need the FieldChooser?
 
 



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