mIRC Home    About    Download    Register    News    Help

Topic Options
#110243 - 05/02/05 03:15 PM Dialogue- combo
IR_n00b Offline
Fjord artisan

Registered: 01/10/04
Posts: 200
Loc: where i am.
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.

Top
#110244 - 05/02/05 03:21 PM Re: Dialogue- combo
coleturner Offline
Self-satisified door

Registered: 05/02/05
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
    ....
} 

Top
#110245 - 05/02/05 04:26 PM Re: Dialogue- combo
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
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-))
}

Top
#110246 - 05/02/05 08:08 PM Re: Dialogue- combo
IR_n00b Offline
Fjord artisan

Registered: 01/10/04
Posts: 200
Loc: where i am.
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

Top
#110247 - 06/02/05 01:35 AM Re: Dialogue- combo
JAFO Offline
Fjord artisan

Registered: 23/09/04
Posts: 237
Loc: New Orleans
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.

Top
#110248 - 06/02/05 01:45 AM Re: Dialogue- combo
IR_n00b Offline
Fjord artisan

Registered: 01/10/04
Posts: 200
Loc: where i am.
i got that, but the hsbar in the list dosent work!
:S

Top
#110249 - 06/02/05 02:01 AM Re: Dialogue- combo
tidy_trax Offline
Hoopy frood

Registered: 02/11/03
Posts: 2327
Also in /help dialog, use /did -z to update the horizontal scrollbar for a listbox.
_________________________
New username: hixxy

Top