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

showing components in designer by default!

edited March 2002 in General
I do this when before showing the ppdesigner window

if ppDesigner1.Menu.Items[2].Items[0].Items[0].checked=false then
ppDesigner1.Menu.Items[2].Items[0].Items[0].click;
ppdesigner1.showmodal;

Sometimes it shows the components, but sometimes not.
How and Where to call this function?

Comments

  • edited March 2002
    I tried setting the standard toolbar using the approach you describe and I
    also received strange results. The designer reads the toolbar visibilities
    from the RBuilder.ini file settings. You'll need to change the ini file to
    set the standard toolbar entry to visible = 1 instead of 0. I suspect that
    the checked property isn't getting set to false until a later timing when
    the designer window is getting initialized, but after all of the other
    events on the designer have fired.

    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited March 2002
    Thanks, Jim...
    Please, I think it is important for end-users to set visibility of the
    toolbars, because most of them don't know how to show the toolbars.
    Is it possible to fix this in next RB version?

    Thanx a lot!


This discussion has been closed.