|
-
May 26th, 2020, 05:12 AM
#1
Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)
Update released.
Massive performance boost for Get .Clip property. (the larger the range the bigger the performance difference)
The string concatenation was done previously by using small buffer chunks putting together when the buffer chunks reach a certain size.
However, compared to the VB6 poor man's string builder from wqweto this is light years of speed difference.
Just as a hint. A very large grid took me before 16 seconds to get the .Clip string. Now it takes just 1 full second.
EDIT: using now a string array instead of a collection for the poor man's string builder for some extra speed gain.
Last edited by Krool; May 26th, 2020 at 08:09 AM.
-
Jun 4th, 2020, 07:10 AM
#2
Lively Member
Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)
is it possible add to SelectionMode it should behave like a ListBox (FlexSelectionModeListBox)
thanks
-
Jun 4th, 2020, 12:13 PM
#3
Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)
 Originally Posted by Semke
is it possible add to SelectionMode it should behave like a ListBox (FlexSelectionModeListBox)
Yes, I thought of something like this also. (kind of multi-selection)
Thanks for bringing this back up.
The vsFlexGrid does have such a feature, right ?
So you don't determine the selection via Row and RowSel but rather via a dedicated IsSelected(Row As Long) property.
How does it behaves there? I mean a ListBox can be set to different selection styles also.
Also is the focus rect "free" or aligned like on "ByRow" ? What do .RowSel report? Is it returning always same as .Row or a "disabled alias" of -1 ?
Maybe I shall make a SelectioMode "ListBox" (similar to "ByRow") and "FreeListBox" (similar to "FreeByRow")
Just thoughts..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|