mIRC Homepage
Posted By: parad0x Highlighting Editbox Text On Load - 21/05/03 01:33 PM
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
Posted By: ScatMan Re: Highlighting Editbox Text On Load - 21/05/03 01:53 PM
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
Posted By: parad0x Re: Highlighting Editbox Text On Load - 21/05/03 02:31 PM
Can't thank you enough ScatMan...always helpin me out...really appreciate it! smile

PaRaD0x
© mIRC Discussion Forums