Hi,,,friends..
i am using multiline text box for storing address ,suppose my multiline control(address ) is 2nd one,suppose i move from 1st control to 2nd(address) my cursor placed in begining of the text existed in multiline text box(address).i want to cursor end of the text existed in multiline textbox
4 5159 sashi 1,754
Recognized Expert Top Contributor
Hi Ramesh,
what are you trying to say? am really confused while trying to understand your problem.. pls explain in a simple manner..
hi friend
i am using multi line text box, if foccus come to that text box ,the cursor blinked in the begining of the existing text,i want to blink at the end of existing text
you need to work with sellength, selstart and seltext. (sel is for selected). without thinking too much i would start a loop
do until right(text1.sel text,1) = vbcr 'this is a carage return, vb constant. ~ new line
text1.sellength = text1.sellength +1
loop
text1.sellength = text1.selllengt h-1 'this takes the vbcr off the end.
'im assuming you want to copy the text... not just highlight it.
clipboard.sette xt=text1.seltex t
this text has never touched a compiler so it might have typos.
i hope ive been helpfull. um... good luck my friend? (is that a comunity thing or does just sashi say it?)
ps, im eating steak for breakfast.
oh yah, forgot to tell you, (you might not know)... put that in the text1_getfocus( ) subroutine. and... replace text1 with your multiline textbox name.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Michael C |
last post by:
Hi all,
I'm trying to add lines to a multiline textbox. Here's what I'd like to end
up with in the textbox (as an example):
Line1
Line2
Line3
I've tried a couple of methods but nothing seems to be working. Code like
|
by: Joel Finkel |
last post by:
Folks,
I have a form that has several TextBoxes, some of which have the TextMode set to MultiLine. Each is pre-loaded with data from a database. The user is allowed to modify each entry.
The problem is that only the modified data from the SingleLine TextBoxes are returned. The original data are returned for the MultiLine TextBoxes. Also, if the page is sent to the server (for validation, for instance), only the modified data for the...
|
by: Enzo Marinelli |
last post by:
Hello everyone
I have a MultiLine TextBox, as follows
<asp:TextBo
Id="StreetAddress
Rows="4
Runat="Server
TextMode="MultiLine
Width="100%"/
|
by: the friendly display name |
last post by:
Hi,
I have a filled multiline textbox on the site. I can scroll it with IE and
Firefox, but under Opera (tested under 7.54, and Opera 8, under "identify as
MSIE" and under Opera identification) , I'm getting a strange behavior: When
I try to scroll, the text doesn't move. It only moves to a new position, if I
move the scroll marks, and then click on a empty place of the website.
There is nothing on the site, just the textbox.
|
by: ABC |
last post by:
I tried KDNGrid's (www.knowdotnet.com) Multiline textbox column style for
datagrid. It is very good but has some bug on wrong handle datagrid height
that cannot display the scrollbar when a row has multiline textbox inserted.
I need to force insert more and more row lines, the scrollbar of gridbox
displayed.
Is there any another good multiline textbox control column style?
Thanks
| |
by: Flack |
last post by:
Hey guys,
I have two questions regarding the vertical srollbar of a multiline textbox.
1. I have an "Ok" button that is initially disabled. I want it to be enabled
when the user scrolls the vertical scrollbar of a textbox all the way down
(indicating that the user at least pretended to read all of the textbox's
text). How can I monitor the scrollbar and know when it has reached the end?
2. My multiline textbox has VerticalScrollBar...
|
by: Mike |
last post by:
I am trying to write a little program for my own use using VB2005 express edition.
I have a list of peoples names in a file that I read into an array of strings. I am using a multiline textbox
to enter new, edit existing, and view the names in the array. This all works well, but now I want to be able
to select one more names from the list displayed in the multiline textbox then click a button to copy the
selected names into another list so...
|
by: Anil Gupte |
last post by:
I have read a lot about getting lines from a multiline textbox in VB.Net.
However, I cannot for the life of me figure out how to write to a multiline
textbox. Basically, I have created an array of strings which I want to
"paste" into a multiline textbox. Any ideas?
--
Anil Gupte
www.keeninc.net
www.icinema.com
|
by: Nathan Sokalski |
last post by:
I have a multiline TextBox that I want to display the text used to create a
control in an apsx file. I want each of these to be on a separate line in
the TextBox. The only way I know of to place things on separate lines in a
TextBox without doing it programmatically is the following:
<asp:TextBox ID="txtMultiLine" runat="server" TextMode="MultiLine">
Line 1
Line 2
Line 3
</asp:TextBox>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |