fieldchooser in reportcontrol sample.
Posted: Wed Aug 19, 2015 2:59 am
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.
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.