mIRC Home    About    Download    Register    News    Help

Print Thread
#110243 05/02/05 03:15 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
ok, so im making this dialogue for viewing logs, and im not sure how i add items to a combo thing
Code:
   combo 49, 7 87 371 268, tab 5 drop
 

cound anyone help me? thanks.

#110244 05/02/05 03:21 PM
Joined: Feb 2005
Posts: 4
C
Self-satisified door
Offline
Self-satisified door
C
Joined: Feb 2005
Posts: 4
Did you mean something like that?


Code:
 on 1:dialog:your_dialog:init:0: {
    did -a your_dialog 49 your_dropdown_content_1
    did -a your_dialog 49 your_dropdown_content_2
    ....
} 

#110245 05/02/05 04:26 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You want to maybe put a list of logfiles into it...
Code:
on *:dialog:[color:blue]DIALOGNAME[/color]:init:0:{
  .echo -q $findfile($logdir,*.log,0,did -a [color:blue]DIALOGNAME[/color] 49 $nopath($1-))
}

#110246 05/02/05 08:08 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
Thanks, thats what i needed, now i need the edit box to scroll
scroll "", 30, 197 250 174 80, tab 4 horizontal
edit "Input", 31, 197 294 174 20, tab 4
grin

#110247 06/02/05 01:35 AM
Joined: Sep 2004
Posts: 237
Fjord artisan
Offline
Fjord artisan
Joined: Sep 2004
Posts: 237
In Dialog help theres these options for edit boxes, since i dont know how you want it to scroll.... hsbar = Horizontal scroll bar ,vsbar = Vertical scroll bar ,autohs = Auto Horizontal scroll and autovs = Auto Vertical scroll.

#110248 06/02/05 01:45 AM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
i got that, but the hsbar in the list dosent work!
:S

#110249 06/02/05 02:01 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Also in /help dialog, use /did -z to update the horizontal scrollbar for a listbox.


New username: hixxy

Link Copied to Clipboard