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

How add a new vartype to the System variable ?

edited October 2002 in End User
What is the best way for add a new function in the TppSystemVariable ?

I added a new Username pass-trough function, but it's too complex for my
user.

Thank you !

--
Philippe Constant
CTRL/Informatique
350 Rue Franquet, bureau 50
Ste-Foy, Qc
G1P 4P3

Comments

  • edited October 2002
    Hi Philippe,

    (a complex 'Username' function?)

    use a JITPipeline to provide static informations, this is as simple as it could be (no RAP needed!).

    regards,
    Chris Ueberall;
  • edited October 2002

    Another option would be to either create a descendant of SystemVariable or
    copy the code and create your own. You could unregister the existing
    SystemVariable if you want to remove it and then register your own. Source
    to the SystemVariable is located in ppVar.pas. An example of a custom
    component is in RBuilder\Demos\RCL.


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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2002
    Another option is to use the RBAddOn component set. It features a system
    info pipeline that you could use to get the username. Surf
    www.bancoems.com\RBAddOn.htm for a demo.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.