| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
| Moderator: | STAR::VATNE |
| Created: | Mon Oct 30 1989 |
| Last Modified: | Mon Dec 31 1990 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3726 |
| Total number of notes: | 19516 |
Hi,
I have two push-buttons in a pulldown-menu activated by an option_menu-widget.
When activating one of the pushbuttons I should activate the entry_callback in
the option_menu, if present, but I only activate the callbacks for the
push-buttons. The description for the option-menu in VMS DECwindows toolkit
ref man, says that "If entry_callback is nut NULL, then all the togglebutton
callbacks execute the entry_callback routine rather than the procedure specified
in the toggle_button."
To me it doesn't seem to be that way???
BUT, depending on how fast I do MB1-down and MB1-up on the option-menu
active area I get :
Very fast: the entry-callback activated
or
Fast: entry-callback + arm-callback + disarm-callback
or
Normal: arm-callback + activate-callback + disarm-callback
Any help is appreciated.
/Nils
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3012.1 | ENTRY-callback on PulldownMenu is the solution | STKHLM::BERGGREN | Nils Berggren SWAS/Telecom,Sweden | Fri Jun 29 1990 03:26 | 11 |
Got the answer,
The Entry-callback should be connected to the pulldownmenu-widget instead of the
optionmenu-widget.
As I see it the toolkit ref. manual is wrong concerning the optionmenu and the
description of the pulldownmenu-widget does not say anything about
ENTRY-callback. However, in the UIL manual the entry-reason is present.
/Nils
| |||||