fieldchooser in reportcontrol sample.

This forum is for support of XCodeJock
Post Reply
Message
Author
skiman
Posts: 902
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

fieldchooser in reportcontrol sample.

#1 Post by skiman »

Hi Roger,

The fieldchooser in the sample isn't working, as you wrote in the notes of that sample. You can fix this as follows:

Replace the line:
DCHOTKEY xbeK_F11 ACTION {||oReport:SetFieldChooserHandle(oFieldChooser:hWnd)}

With the following line:
DCHOTKEY xbeK_F11 ACTION {||oReport:FieldChooser := oFieldChooser}

This way the fieldchooser works without problem.
Best regards,

Chris.
www.aboservice.be

User avatar
rdonnay
Site Admin
Posts: 4283
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: fieldchooser in reportcontrol sample.

#2 Post by rdonnay »

Chris -

Thank you for that information.
I corrected the sample per your instructions.

Roger
The eXpress train is coming - and it has more cars.

Post Reply