Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i Speed up the Addlistitem
Message
 
 
To
04/10/2000 15:56:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00424906
Message ID:
00425101
Views:
21
>>>>Hi all
>>>>I got to populate a listbox with Addlistitem Because I put picture on the list to.
>>>>It working fine if the number of item dont go over 500 after that the list take time to refresh.
>>>>
>>>
>>>
>>>
>>>First of all, I'm with Brett, you should be using a grid for that many items. But if you insist, you should be able to speed up the process by temprarily moving the listbox off of the screen while you add all those items.
>>>
>>>THISFORM.MyList.Left = -1000
>>>THISFORM.FillList()
>>>THISFORM.MyList.Left = 100 && or whatever
>>
>>Thanx for the tips Bret and Eric
>>
>>The List is use to create a .txt file And the user can select one or many informations to put in the .txt file. I use a list for the multiselect property
>>
>>
>>Ben.
>
>YIKES! Still too many items for a list box. Even with a grid, that's too many, IMO. You can use a grid with a checkbox.

Cetin Basoz designed a multiselect grid, which is here in Files section. For multiselect ability I would recommend to take a look at it. I already implemented it successfully in one of my application.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform