Intention is to allow in-place editing, similar to that in a word processor, but user could edit ONLY those underlined (or similar specially marked) words in sentences -- not to allow editing the whole sentence or page. Appearance should look like a hyperlinked label, but not to function as a hyperlink. As the user enters longer text than the original, all the text on the right side of it should shift accrodingly as in a word processor.
Expected functionalities are:
- By double clicking the underlined (or specially marked) words, user is allowed to edit that particular text. Existing text on right side of it should keep on shifting as user enters longer text in the control.
- By clicking outside the control, user signals end of editing, i.e. everything becomes frozen, like a label.
Example:
Offer valid only in California until December 31, 2005 at select stores.
By double clicking California, user could edit California and change it to New York; and by double clicking 2005, user could edit 2005 and change it to 2006, and the text on the right side of the controls should keep on flowing toward right as in a word processor as below. User is not allowed to edit words other than those underlined (or marked)!
Offer valid only in New York until December 31, 2006 at select stores.
Editable Label in J#
Waif
Hi,
If you are taliking about text box (something which user can edit in the runnnig app) then yes it is supported in J#. To use it...
1. Create a J# Windows application (File > New > Project).
2. Drag and Drop a Text Box control from ToolBox to designer.
3. Manupulate the Text property of this check box as per your need.
If you want to have a static label (user can't edit the contents but programatically it can be changed) then drag and Drop a Label from ToolBox.
Hope it helps. Post back if you have any issues.
Thanks.
TenDot
Hi,
This scenario is more related to WinForms than J#. Please post this query on http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=8&SiteID=1.
Thanks,
Jaiprakash
Paolo Giorgio
Intention is to allow in-place editing, similar to that in a word processor, but user could edit ONLY those underlined (or similar specially marked) words in sentences -- not to allow editing the whole sentence or page. Appearance should look like a hyperlinked label, but not to function as a hyperlink. As the user enters longer text than the original, all the text on the right side of it should shift accrodingly as in a word processor.
Expected functionalities are:
- By double clicking the underlined (or specially marked) words, user is allowed to edit that particular text. Existing text on right side of it should keep on shifting as user enters longer text in the control.
- By clicking outside the control, user signals end of editing, i.e. everything becomes frozen, like a label.
Example:
Offer valid only in California until December 31, 2005 at select stores.
By double clicking California, user could edit California and change it to New York; and by double clicking 2005, user could edit 2005 and change it to 2006, and the text on the right side of the controls should keep on flowing toward right as in a word processor as below. User is not allowed to edit words other than those underlined (or marked)!
Offer valid only in New York until December 31, 2006 at select stores.
Thanks