Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview
Message
From
29/06/2002 03:24:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/06/2002 02:42:35
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00673582
Message ID:
00673584
Views:
16
>Hi,
>
>We are trying to use ms-tree view with a table have 18000 records added children to different parents, the time takes to complete this operation as following:-
>
>Using font time new roman regular Times 23s
> Time New Roman (Arabic) Regular 4:45 s
>
>
>1. Is there any way to change the font on tree view after loading the data.
>
>2. How can i speed up the tree view loading data?
>
>Best Regards

Yes you could change the font after data loaded using font object :
with .Treeview.Font
  .Name = 'Times New Roman'
  .Size = 12
  .Bold = .f.
  .Italic = .t.
endwith
For faster loading approach (if applicable to your case) read UT magazine June 2001 article.

Another fast loading way is not to use treeview but hierarchicalflexgrid activex (which is more logical for data with multiple columns IMHO - check Message #570099 ).
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
Next
Reply
Map
View

Click here to load this message in the networking platform