showing components in designer by default!
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?
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?
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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!