mIRC Home    About    Download    Register    News    Help

Print Thread
Highlighting Editbox Text On Load #25311 21/05/03 01:33 PM
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
Is there a way to select/highlight the default text in a dialog editbox, so when the user starts typing, it overwrites the text there? I'm using the -f switch to set the focus on it, which is working...but I want the text to be selected/highlighted ready for overwriting...

thanks!
PaRaD0x

Re: Highlighting Editbox Text On Load #25312 21/05/03 01:53 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
yes, u can use /did -c DNAME ID LINE FROM TO
line - the line that u want to start to selecting from there
from - is the Nth letter that u start selecting from there
to - that will go Nth letters from the 'from'
for example /did -c name id 1 4 5
and the text in the editbox is 'hello there' in the first line
so 'lo th' will be selected

Re: Highlighting Editbox Text On Load #25313 21/05/03 02:31 PM
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
Can't thank you enough ScatMan...always helpin me out...really appreciate it! smile

PaRaD0x