Re: Happy new year, and...

GWRepJohnH@aol.com
Tue, 7 Jan 1997 11:19:33 -0500

HI Hans,

About trigger/window title monikers. A way to get around that issue is to
just ctreate a GenTrigger for your button (or menu item) giving it the short
moniker you want. Have that trigger's apply message activate the
GenInteraction dialog box that you have given a more descriptive title.

For example:

@object GenTrigger MyButton = {
GI_visMoniker = "Person";
GTI_destination = process;
GTI_actionMsg = MSG_OPEN_PERSON_DIALOG_BOX;
HINT_TRIGGER_BRINGS_UP_WINDOW;
}

@object GenInteraction MyDialogBox = {
GI_visMoniker = "Personal Data";
GI_comp = <whatever is in the dbox>
GII_visibility = GIV_DIALOG;
GII_attrs = @default | GIA_NOT_USER_INITIATABLE;
}

@method MyProcessClass, MSG_OPEN_PERSON_DIALOG_BOX
{
/* you can do any initialization here */

/* Open the dialog box */
@send MyDialogBox::MSG_GEN_INTERACTION_INITIATE();
}

Hope this helps...
John ;-)