Group: Forum Members
Last Active: 3 Years Ago
Posts: 176,
Visits: 1,865
|
Please can we have an overload that is case insensitive? I am using this to find a region on a map and zoom into it, but it's a bit hit and miss (and confusing) for the user that they have to know the exact casing of the name they're searching for. Thanks Kevin
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi, The GetChildByName method is marked as virtual, so you can override it in order to make it work with case insensitive names. If you are using the automatic map importer, you won't be able to use a custom class, so it's best to write your own GetChildByName method that loops through all elements in the diagram element collection and checks their names case insensitively.
Best Regards, Nevron Support Team
|