mIRC Home    About    Download    Register    News    Help

Print Thread
#91298 21/07/04 08:11 AM
Joined: Jul 2004
Posts: 6
U
Unique Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
U
Joined: Jul 2004
Posts: 6
Hello, im trying to make an edit box where i can add a list of items (on 1 line)

Since i had problems to get the line continue on the next line if it got too long, i enabled multi and vsbar option:
edit "", 100, 80 60 520 80, multi, vsbar

Now the problem is, that if i click on the edit box (anywhere but on the first line) i will always end up on the second line instead of the first.. so need to push backspace to get on first line..
Kinda odd confused

Joined: Feb 2003
Posts: 67
N
Naz Offline
Babel fish
Offline
Babel fish
N
Joined: Feb 2003
Posts: 67
Your problem may be that you have a comma between the editbox propeties. It should look like:

edit "", 100, 80 60 520 80, multi vsbar

The text cursor should go where you click unless u click below the last line in which case it would go to the end of the last line.


Those who live by the sword get shot by those who don't.
Joined: Jul 2004
Posts: 6
U
Unique Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
U
Joined: Jul 2004
Posts: 6
It isnt the commas smile funny enough that it even works with the commas..

But i found what did it:
I wrote some values to it using:
did -o editbox_dialog 102 1 text

Whenever i add something (or nothing for that matter) with the did command it puts an enter in the edit box..
I dont think i can deny this?!

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
FWIW, /did -a doesn't pose that behavior.


Link Copied to Clipboard