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

Using RAP to create a clickable dbtext-Field

edited March 2004 in RAP
In RAP, I tried to make my dbtext-field clickable:

1.) Coded the OnDrawCommandCreate-event
2.) Coded teh OnDrawCommandClick-event

But it doesn't except anything for the tag-property of the DrawCoammand.
It's alway zero (0), when the OnDrawCommandClick is fired.

Coded in Delphi everything works perfect. Is this a known RAP problem or can
someone give me a hint or send me a demo?

Best regards,

James Inform

Comments

  • edited March 2004

    I tested this in RAP.

    When I implement the OnDrawCommandCreate like this it works properly

    var
    lDrawCommand: TppDrawCommand;
    begin

    lDrawCommand := TppDrawComand(aDrawCommand);

    lDrawCommand.Tag := 55;

    end;


    But this does not

    begin

    TppDrawCommand(aDrawCommand).Tag := 56;

    end;


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.