When a certain range of negative item values is passed in the function
VisListLoadChild, the passed text is not populated but a fixed text is
used which seems to come from Windows (explorer).
-2 > "This computer"
-3 > "My network locations"
-4 > "My documents"
-5 > "Trashcan"
-6 > "Internet Explorer"
Other negative values do not affect the passed text.
I have created a small testcase. I do not see any issues with the
negative value range on TD151 and TD31.
On TD42 this issue is present.
(I'm running WinXP SP2).
Dave
/EDIT
Just tested TD51, and the issue is there also.
So, what is this : a feature or a bug ?
[TD42] cOutlineListbox issue : negative item values
-
- Founder/Site Admin
- Posts: 3473
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
[TD42] cOutlineListbox issue : negative item values
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: [TD42] cOutlineListbox issue : negative item values
Hi Dave,
We came across this issue about 6 months ago (before my time on the forums) when converting an app from 3.1 to 4.1, and implemented a work around to immediately update the item text (using VisListSetItemText) after it was inserted.
Cheers
TerryP.
We came across this issue about 6 months ago (before my time on the forums) when converting an app from 3.1 to 4.1, and implemented a work around to immediately update the item text (using VisListSetItemText) after it was inserted.
Cheers
TerryP.
Terry Phythian
Reprise Consulting
Reprise Consulting
Re: [TD42] cOutlineListbox issue : negative item values
Dave, TerryP,
I got the same problem in 5.2 but I migrated from 4.2 where no such problem exists.
Terrys solution work! Thank you.
But in my opinion it is still a bug in TD.
regards
Gerald
I got the same problem in 5.2 but I migrated from 4.2 where no such problem exists.
Terrys solution work! Thank you.
But in my opinion it is still a bug in TD.
regards
Gerald
Who is online
Users browsing this forum: [Ccbot] and 0 guests