Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Checkbox OndrawCommandClick

edited July 2002 in General
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

Comments

  • edited July 2002
    Try:

    {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
  • edited July 2002
    Hi Tom,


    same procedure as always?
    Why don't you guys use the announcement group for that kind of information?

    Chris Ueberall;
  • edited July 2002
    Hi Chris!

    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
This discussion has been closed.