Re: Detecting shift/alt keys



On Tue, 26 Apr 2005 15:43:07 +0200, "Maarten Wiltink"
<maarten@xxxxxxxxxxxxxxxxxx> waffled on about something:

>"Dodgy" <Dodgy@xxxxxxxxxxxxxxxxxxxxx> wrote in message
>news:jm7s6152c0i45vn3tbaupjaqq2srbv6hoh@xxxxxxxxxx
>[...]
>> Oh you evil man, pointing a newbie to use actions... I bet you're
>> waiting for the day he accidentally double clicks one of the events on
>> him menu bar and then wonders why his action suddenly stops working!
>> Unless they've improved that little headache since D5.
>
>Evil by name, evil by nature. I've never seen that? Perhaps it's
>because I don't double-click things to write event handlers. I select
>them (Tab, Tab,... Tab), switch to the Object Inspector (F11), go to
>the event *I* want (Ctrl-Tab, Down, Down,... Down) and press Ctrl-Enter.
>
>Actions are great. They require a mindswitch, but once you've made that,
>they become instantly indispensible.

I agree, they are damn useful... The fun stuff happens when you go to
the original control and edit one of the properties/events that the
action is linked to. You break the link to that bit (other
properties/events stay linked on the same control) so you end up
wondering why the caption (which was being provided by the action) no
longer changes when it doesn't look any different in the IDE.

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
.