>have one toolbar for the entire app. it has many buttons (too many to show them all at one time.) depending on the form, page, container, etc displayed, the buttons on the toolbar are set visible/enabled =.t. or .f.. can not determine exactly what is slowing down, but know that the toplevelform is resized for each button visible. can actually see the buttons pop around the toolbar. put the visible/enabled in a with, endwith but that did not seem to help. any ideas for speeding this up?
>
>thanks brenda
And in addition to lockscreen, first setall("Enabled",.t.,"CommandButton") (or .f. depending which one is more in count) then only disabling those that would be disabled might slightly get things faster. If possible having groups of buttons is also good for speeding up (ie: totally groups could be enabled/disabled).
Cetin