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

showcomponents in designer

edited March 2002 in General
I posted this question, get an answer but my problem was not resolved.

I like to show or not some components in the end-User Designer.
ppDesigner1.ShowComponents[scLabel, sc....]

If i do this compiler error occurs - scLabel undefined.
Thanks
Erich Rieder

Comments

  • edited April 2002
    You need to include ppTypes which defines the component types. Similarly you
    could also disable unwanted components in the object inspector instead of
    having to do it programmatically.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited April 2002
    Thanks Alexander ppTypes that was i looked for.

    I need this in runtime because useres have/have only persmissions design
    specified types..

    Thanks
    Erich



This discussion has been closed.