This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, August 3, 2009 6:10:54 AM(UTC)
Groups: Registered
Posts: 5
Hello again,
I declare my problem:
I created an interface to create new MaterForm for form recognition. First, insteed of ask user for the name of this new Master Form, I create automatique a new Master Form with an random name ("untitled" by example).
Then, at the end, user click at the "Save" button to save this new MasterForm. At this point, user can select name for his Master From created. As from the beginning, I've choosed "untitled" for name of this Master Form, I must change this name to name that user has given.
It's not simple that we just call
lMasterForm.Properties.Name = new_name_string;
but we must change this information in lMasterForm.Attributs also.
I've searched but have not found any built-in function to change a MasterForm's name.
Any help would be greatly appreaciated.
Hoa,
#2
Posted
:
Monday, August 3, 2009 6:22:53 AM(UTC)
Groups: Registered
Posts: 5
And I've found that, in the Leadtools Forms demo, we can not change name of Mater Forms.
#3
Posted
:
Tuesday, August 4, 2009 7:12:46 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You cannot change the main form name after you add it.
Instead, I suggest you do not add a main form when you load the image for the first time. Instead, load the image without adding the form, and when the user wants to add the main form, define the name and add it then.
#4
Posted
:
Thursday, August 6, 2009 6:41:14 AM(UTC)
Groups: Registered
Posts: 5
Thanks for your suggest. However, my application must allow users to change master form's name whenever they want.
I think that I would re-build the master form manually when the name is changed
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.