mIRC Home    About    Download    Register    News    Help

Topic Options
#154703 - 31/07/06 05:34 PM on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
Hi smile

on TABCOMP is a great event, but it only works if there is a text on the editbox (right?). What if it also got triggered when the editbox was empty (but selected)? smile

Thank you,
Zyzzy.
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154704 - 31/07/06 08:42 PM Re: on TABCOMP
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
it does

Top
#154705 - 31/07/06 09:45 PM Re: on TABCOMP
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
It triggers when the tab key is hit, no matter what it is in the editbox.

Top
#154706 - 01/08/06 07:20 AM Re: on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
It doesn't here. Selecting the editbox and hitting the TAB won't do anything.

on *:tabcomp:*: echo -s * test


Is there something I'm missing?
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154707 - 01/08/06 08:26 AM Re: on TABCOMP
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
Your exact line was tested and worked fine. You might have remotes off? or your nit running mirc 6.20 LOL!

Top
#154708 - 02/08/06 11:18 PM Re: on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
I've got no idea what I'm doing wrong, or maybe I'm not being clear enough frown Using the line above, clicking on the editbox (empty) and hitting TAB won't do anything. Only if something is typed there it will work, including the hard space $chr(160).

I'm lost =P
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154709 - 03/08/06 12:21 PM Re: on TABCOMP
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
no your being completely clear, thats exactly what i did and it did work.

Top
#154710 - 03/08/06 12:32 PM Re: on TABCOMP
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4420
Loc: London, UK
on TABCOMP should trigger even in an empty editbox. Which version of Windows are you using?

Top
#154711 - 03/08/06 09:12 PM Re: on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
I'm using XP Pro SP2

One thing I noticed is that the "empty TAB" does work with a clean, script-free mIRC 6.2; but it does not work with my usual mIRC - with my scripts and everything else. I've even tried loading the ON TABCOMP as a separated remote, without success. I wonder what type of script could be preventing the event from being read.

Weird..
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154712 - 03/08/06 10:54 PM Re: on TABCOMP
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
Well start taking things out, untill u find the one that cuases it, then report back on what u find, rather than giving missleading reports that it "just doesnt work".

Top
#154713 - 03/08/06 11:14 PM Re: on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
I did what you suggested and unloaded all remotes, aliases, variables, userlist, popups and guess what? It still won't work confused

The only apparent difference between the 2 mIRCs (the working and the non-working), are the options and the background/font colors smirk
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154714 - 05/08/06 08:56 AM Re: on TABCOMP
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
lol, sorry to hear that, seems pretty wierd, do u experence this in all windows?

//window @ex -el @ex | aline -l @ex abc | aline -l @ex def

test on a custom window maybe?

Top
#154715 - 05/08/06 04:39 PM Re: on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
Custom windows, status window, channel windows, query windows.. nothing smirk *head scratch*
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154716 - 08/08/06 12:13 AM Re: on TABCOMP
Zyzzyx26 Offline
Hoopy frood

Registered: 15/02/04
Posts: 714
Loc: Brasil
I tried doing the reverse process, and loaded my scripts one by one, to see which one hatled the ON TABCOMP. Again, nothing.. after all scripts were loaded, the TAB still worked smirk

Does anyone else can verify this?
_________________________
"All we are saying is give peace a chance" -- John Lennon

Top
#154717 - 09/08/06 07:39 PM Re: on TABCOMP
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4420
Loc: London, UK
Thanks for the help, I think I may have figured it out... do you have the "Tab key changes editbox focus" option enabled in the Options/Other/Keys dialog? If I enable this option I can reproduce the problem.

If this option is enabled and the Tab key is pressed in an empty editbox (or in a situation where tab completion is not necessary), mIRC changes the focus to the next editbox/listbox. Triggering the the TABCOMP event in this situation did not seem appropriate.

I will add a note to the on TABCOMP section in the help file describing this situation.

Top