From: | Curt Esser |
Date: | 1 May 2000 at 12:33:52 |
Subject: | Re: GTMX Gadgets |
Hi Tony
On 30-Apr-00, Tony Rolfe wrote:
> I've got a bit of a problem with GTMX Gadgets.
>
> My normal windows have some number of GTStrings, GTButtons and
> GTTexts. With this I only have #IDCMP_GADGETUP
>
> My new window has 3 GTString gadgets and one GTMX Gadget with 5
> options. The top string is activated by default. I was getting no
> IDCMP message from the GTMX, so I have added #IDCMP_GADGETDOWN
> and now I get a message from the GTMX, but whenever I click on it I
> get a gadgetup on the active string, before the gadget down on the
> GTMX. I also still get no gadgetup from the GTMX.
>
> Has anyone used these gadgets?
Yes
> Is there some flag I should set for
> the GTMX to give me a gadgetup?
None that I know - the GTMX will report only gadget-down.
As I recall, the GTListView works the same way too, although I'm not sure
about that...
But wouldn't you get a GadgetUp from the string no matter what kind of other
gadget was pressed, since that would cause the string to be automatically
de-activated first?
I can think of a possible solution, but it would require a lot of
trial-and-error (and might not work) by storing all the quequed events in a
list before processing any of them, then looking to see what you have
first...
Can you post a small example of what you are doing?
Later...
Yours electronically,
Curt Esser
camge@amigaonline.net
http://members.xoom.com/Curt_Esser/
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie