Hi,
Im in the early stages of a .chm creation app and got stuck on this thing....
I'm adding "Modal Forms" to be the topic's of the .chm file and reach the point were I can erase an added "Modal Form" but need to rename all remaining forms numerically....
like this...
After creating 5 topics, if the user deletes the 2 and 3 toppics then the next adding topic would be named 4 since 4 and 5 had became 2 and 3...
add topic 1
add topic 2
add topic 3
add topic 4
add topic 5
delete topic 2 - automatically rename 3 to 2, 4 to 3 and 5 to 4
delete topic 3 - automatically reneme 4 to 3
Add topic 4
I think this way it's easier to understand what im trying...
I just can't work out how to make sure the forms number stay sequenciall...
Im in the early stages of a .chm creation app and got stuck on this thing....
I'm adding "Modal Forms" to be the topic's of the .chm file and reach the point were I can erase an added "Modal Form" but need to rename all remaining forms numerically....
like this...
After creating 5 topics, if the user deletes the 2 and 3 toppics then the next adding topic would be named 4 since 4 and 5 had became 2 and 3...
add topic 1
add topic 2
add topic 3
add topic 4
add topic 5
delete topic 2 - automatically rename 3 to 2, 4 to 3 and 5 to 4
delete topic 3 - automatically reneme 4 to 3
Add topic 4
I think this way it's easier to understand what im trying...
I just can't work out how to make sure the forms number stay sequenciall...