Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar slowwwwwing down app
Message
From
29/09/1998 10:35:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141836
Message ID:
00141937
Views:
29
>>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform