mIRC Home    About    Download    Register    News    Help

Print Thread
#35689 11/07/03 10:02 AM
Joined: May 2003
Posts: 21
X
Xc0n Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: May 2003
Posts: 21
how can i retrieve text from an editbox and write a variable for it. please help.


-
Xc0n
#35690 11/07/03 03:00 PM
Joined: May 2003
Posts: 21
X
Xc0n Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: May 2003
Posts: 21
anyone?


-
Xc0n
#35691 11/07/03 05:49 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#35692 11/07/03 08:20 PM
Joined: Dec 2002
Posts: 29
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Dec 2002
Posts: 29
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