|
-
Aug 10th, 2019, 01:09 PM
#11
Re: CommonControls (Replacement of the MS common controls)
Update released for the ListView control.
In the MS common controls it is possible to change the .Key of an item in the control's collection. I didn't know it was even possible 
I will internally achieve this by adding a new item on the collection with the new key (or blank) and removing the old item. (of course the order is important in case of an error break)
Of course the ObjPtr() of the real item will stay the same..
Each control will need it's own procedure for this. Therefore I started with the ListView control (.ListItems) and others will follow then step by step.
VBCCR16 got also updated and will benefit from this.
In theory this must break compatibility as an property was read-only and now is read/write. However, VB6 treats only interface changes as compatibility break. And in this case it's only an addition. (Let Procedure of the Key property)
However, I must admit that it can cause confusion if an old VBCCR16 version has different behavior than the new one.
But I don't want to split now the StdExe version from the OCX version... also it would be too long for the OCX to benefit from this.
Last edited by Krool; Aug 11th, 2019 at 02:00 AM.
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
|