C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




About Textbox


Posted Date: 06 Oct 2008      Total Responses: 1

Posted By: nandu       Member Level: Bronze     Points: 1


A window form having two textboxes, its size give at runtime.the balane content of textbox1 is displayed in textbox2.My need is,only visible text is displayed in textbox1,when the space is encountered in textbox(only visible text.ie,dont use right key to show content)the remaining is text is displayed in textbox2.



Responses

Author: Antony s Nasarath    06 Oct 2008Member Level: SilverRating:     Points: 2
Hi
At run time you know how many char the text box 1 can accomodate say 100 char, loop through form 100 to backward and check first accurance to of space say its at 85th char, so get first 85 char and display at first box and remaining char at the 2nd text box.

Hope this help you..

Regards,



Post Reply
You must Sign In to post a response.
Next : Modifying Environment Variable under less priviliged User
Previous : Right fax issue with email ID format
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

Help Desk

Contact Us    Privacy Policy    Terms Of Use