Auto Highlight in Text Box

new topic     » topic index » view thread      » older message » newer message

--part1_6a.26e9a251.2ac80b2f_boundary

Hi All,
Using Win32lib I have a form allowing the user to enter data. What I am 
trying to achieve is that when a user saves the record and then tabs to a 
text box to enter data for the next record, I want my program to search the 
test currently in the box and is it finds a "." period it should highlight 
any text from thispoint onwards.

This way if a user is entering a list of doors as follows entry should be 
much faster and easier as they only need to type whatever preceeds the period 
once.

D1         Gosford Hospital. Maternity
D2         Gosford Hospital. A & E
D3         Gosford Hospital. Security
D4         Gosford Hospital. Surgery

Thanks
Tony Steward

--part1_6a.26e9a251.2ac80b2f_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">Hi All,<BR>
Using Win32lib I have a form allowing the user to enter data. What I am trying
to achieve is that when a user saves the record and then tabs to a text box to
enter data for the next record, I want my program to search the test currently in
the box and is it finds a "." period it should highlight any text from thispoint
onwards.<BR>
<BR>
This way if a user is entering a list of doors as follows entry should be much
faster and easier as they only need to type whatever preceeds the period
once.<BR>
<BR>
D1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gosford Hospital.
Maternity<BR>
D2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gosford Hospital. A &amp;
E<BR>
D3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gosford Hospital.
Security<BR>
D4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gosford Hospital. Surgery<BR>
<BR>
Thanks<BR>

--part1_6a.26e9a251.2ac80b2f_boundary--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu