Checkbox OndrawCommandClick
I want that a user can checked or uncheck a checkbox with the mouse while
viewing the report,
I use the OndrawCommandClick procedure like that (is it the good method ?) :
Procedure CBVenduOnDrawCommandClick(adrawCommand : TObject);
begin
CBVendu.Checked := Not (CBVendu.Checked);
CBCede.Checked := Not (CBVendu.Checked);
end;
What is the command to Refresh the current page of the report, to make the
action visible ?
(the result appear only when a new page is printed)
Where can I found a develloper guide for RAP ?
Regards
DidierCorbasson
viewing the report,
I use the OndrawCommandClick procedure like that (is it the good method ?) :
Procedure CBVenduOnDrawCommandClick(adrawCommand : TObject);
begin
CBVendu.Checked := Not (CBVendu.Checked);
CBCede.Checked := Not (CBVendu.Checked);
end;
What is the command to Refresh the current page of the report, to make the
action visible ?
(the result appear only when a new page is printed)
Where can I found a develloper guide for RAP ?
Regards
DidierCorbasson
This discussion has been closed.
Comments
{tell viewer to redraw page}
lDrawCommand := TppDrawCommand(aDrawCommand);
lDrawCommand.RedrawPage := True;
The latest version of the Developer's Guide, (Third Edition) contains
documentation on RAP. You can download the PDF or order from the web-site.
Also, the on-line help for RAP, is more than just a reference, containing
full tutorials on how to code pass-thru functions and utilize other advanced
features...
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
same procedure as always?
Why don't you guys use the announcement group for that kind of information?
Chris Ueberall;
The new Third Edition adds the documentation already available in the RAP
on-line help to the PDF file. This will be noted in the release
notification for the Server Edition...
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com