mIRC Home    About    Download    Register    News    Help

Print Thread
#35689 11/07/03 10:02 AM
X
Xc0n
Xc0n
X
how can i retrieve text from an editbox and write a variable for it. please help.

#35690 11/07/03 03:00 PM
X
Xc0n
Xc0n
X
anyone?

#35691 11/07/03 05:49 PM
Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
Code:

dialog bleh {
  option dbu
  size -1 -1 100 100
  title Bleh!
 
  edit " ", 1, 5 5 90 13
  button "OK", 2, 20 50 25 25, ok
}
on *:DIALOG:bleh:edit:1:{
  set %bleh.edit.1 $did(bleh, 1).text
}

This code has nothing whatsoever to do with x-gui.dll. If you need help with that dll, read the help file that comes with it or contact the dll's author.

#35692 11/07/03 08:20 PM
R
RAIN
RAIN
R
This is from Help file of x-gui.dll,witch answers on your question.
GetText - Retrieve the text from an editbox. You have to use $dll to get the value.
example: var %text = $dll(x-GUI.dll,Editbox,@MyWin > GetText 3)


Link Copied to Clipboard