Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, August 3, 2009 6:10:54 AM(UTC)
tyt_g207

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,


 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, August 3, 2009 6:22:53 AM(UTC)
tyt_g207

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)

Basel  
Guest

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)
tyt_g207

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.060 seconds.