mIRC Homepage
Posted By: IR_n00b Dialogue- combo - 05/02/05 03:15 PM
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.
Posted By: coleturner Re: Dialogue- combo - 05/02/05 03:21 PM
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
    ....
} 
Posted By: Iori Re: Dialogue- combo - 05/02/05 04:26 PM
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-))
}
Posted By: IR_n00b Re: Dialogue- combo - 05/02/05 08:08 PM
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
Posted By: JAFO Re: Dialogue- combo - 06/02/05 01:35 AM
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.
Posted By: IR_n00b Re: Dialogue- combo - 06/02/05 01:45 AM
i got that, but the hsbar in the list dosent work!
:S
Posted By: tidy_trax Re: Dialogue- combo - 06/02/05 02:01 AM
Also in /help dialog, use /did -z to update the horizontal scrollbar for a listbox.
© mIRC Discussion Forums