mIRC Home    About    Download    Register    News    Help

Print Thread
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

Joined: May 2003
Posts: 730
S
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

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


Link Copied to Clipboard