mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 20
X
xemacs Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jan 2003
Posts: 20
what about something like that
u got a dialog
but u wanna add another one to this dialog

hm cant find the right words

/dialog -e <dialog that should be added> <dialog where the otherone should be attached>

it would make it possible to add a dialog to another
usefull in customizing scripts or adding features to an existing script

greetz

Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well Windows doesn't have an "add another dialog to this one" function.

Joined: Jan 2003
Posts: 20
X
xemacs Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jan 2003
Posts: 20
no i mean the items in the 2nd dialog should be added to the 1st one

Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well where should they be placed? What if the first dialog already has a control where the second one does?

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Dialogs are open source. Simply edit the dialog rather than trying to ammend it with some plug-in style script. However, we can only hope that /did allows more dynamic object creation and placement in the next version, which will allow you to do exactly what you're asking.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
I just read a post on classes, and i saw teh extends, and i got my hopes up.

Perhaps we could get a bit of inheritence happening with dialogs?

At the moment you can create several dialog tables from one definition....

what about:
dialog frog {
;..default code..
}
dialog ribbit extends frog {
;add buttons etc
;change title
}

And wehnever ribbit is called the tables get merged, with duplicate did's overwriting each other.


Link Copied to Clipboard