Posted 20 years ago by Marianne
Avatar
Can you overload the dwManager.Contains(string keyName) method to include:
dwManager.Contains(string keyName, bool IgnoreCase)

For document windows, what often goes there is the filename which is not normally case sensitive, so it would be nice to have an option so that we can search for the item case insensitively also. Thanks.

------------------------------- Marianne

Comments (3)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Actually the best thing to do would probably have you just use lowercase keys. So when you set the key, do a ToLower on it. That should get you the functionality you want.


Actipro Software Support

Posted 20 years ago by Marianne
Avatar
That's what I'm doing now but since the filename is displayed in the status bar, I'd like to be able to show the user the proper filename/filepath casing instead of always displaying it in lower case.

------------------------------- Marianne

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Marianne,

You can store the mixed case filename in the Tag property.


Actipro Software Support

The latest build of this product (v2.0.0208) was released 19 years ago, which was after the last post in this thread.