>>>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
>
>good suggestion about the setall. will try it.
>
>if you disable groups, are the buttons turned gray. visually can you tell that the button is disabled?
>
>are toolbars known to be slow?
>
>thanks - brenda
Commandgroup.setall() would provide visuality. It should gain some speed for it wouldn't need access to current enabled state indiviually. I didn't see toolbars be slow yet. Many buttons should be fast too (will try with about 100+ buttons added on the fly and come back later).
Cetin