|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Highlight text in a textbox... thanks...
Hi fellow brothers and sisters.... I got a problem.. -How do I select and highlight text in a textbox.. -I'm performing a tasks... I wanna highlight some text in a textbox.. then i'll delete these highlighted text by pressing a button... -so how do i at the first place select these texts ? thanks for answering my doubts... ![]() |
|
#2
|
|||
|
|||
|
Text1.SelStart = 0
Text1.Seltext (len(Text1.Text) I think this is it but I haven't programmed in VB for about a year. |
|
#3
|
|||
|
|||
|
well
hi.. thanks for replying me..
my next problem... how do u highlight a paragraph in a textbox? e.g. I wanna highlight line 1 to line 4 in a textbox... is there a way?? |
|
#4
|
|||
|
|||
|
Please post your question one time only.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Highlight text in a textbox... thanks... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|