|
-
Mar 25th, 2005, 04:58 AM
#1
Thread Starter
Addicted Member
TextBox Help
hi
well i want to insert text in a text a on click of a menu from the popup menu, but its not working, if i put that code in a command button it works
n also tell me can i insert/replace text in the textbox in particular possitions.
-
Mar 25th, 2005, 05:15 AM
#2
Re: TextBox Help
 Originally Posted by hyousuf2
hi
well i want to insert text in a text a on click of a menu from the popup menu, but its not working, if i put that code in a command button it works
n also tell me can i insert/replace text in the textbox in particular possitions.
To insert/replace text in a textbox, use the string-var that holds the text, do some string-manipulations (mid$, left$ etc.) on it and set the new value for the textbox.
For the first problem, you have to post your code, because what you described is correct, so there must be an mistake in your code. The only problem might be the "popup menu", is that the menu from the form or something else?
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Mar 25th, 2005, 05:32 AM
#3
-
Mar 25th, 2005, 05:42 AM
#4
Thread Starter
Addicted Member
Re: TextBox Help
ok the problem was from my side
but now i jus wanna ask one question when add some text in the text box programatically the cursor goes to the first possition, i want it to remain at the end
-
Mar 25th, 2005, 05:51 AM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|