Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement