mIRC Home    About    Download    Register    News    Help

Print Thread
#12598 23/02/03 06:19 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Two ideas:

1. An event which triggers when the ID with focus in a dialog changes.
2. Make the $dialog().focus identifier work for combo boxes (dunno if this is a bug or a suggestion).

#12599 26/02/03 03:45 AM
Joined: Dec 2002
Posts: 17
N
Pikka bird
Offline
Pikka bird
N
Joined: Dec 2002
Posts: 17
the $dialog().focus property returns which tab is selected.
it's not meant for other controls.

#12600 26/02/03 08:32 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Where'd you get that idea? It works for:
Edit boxes
Buttons
Check boxes
Radios
Lists
But NOT for combos.

The helpfile says:
Code:
[color:red]The $dialog() identifier[/color]
$dialog() also supports these [color:blue]properties[/color]:
focus	returns id of control that currently has focus

There is nothing that says it only works for tabs.


Link Copied to Clipboard