Need click on button in table to NOT activate app
Need click on button in table to NOT activate app
- Subject: Need click on button in table to NOT activate app
- From: Scott Ribe <email@hidden>
- Date: Tue, 20 Jan 2009 11:21:19 -0700
- Thread-topic: Need click on button in table to NOT activate app
Like the subject says, I need a window, with a table, with buttons in each
row of the table--and I need for the user to be able to click on those
buttons while the app is not frontmost and have the app not activate.
Seems I have to make the window a panel, set it to not hide on deactivate,
and use setBecomesKeyOnlyIfNeeded: YES. (Floating panel is not my first
choice, but if it's the only way, that's OK.)
Problem is: a normal-speed click on any of the buttons still activates my
app, but a slow-speed (click, hold, see button highlight, release) does not.
Any way around this?
(Yes, it's a somewhat demented user interface. I'm trying to help a user
move data from my program into another. The other program is not scriptable
and has no option to import data--copy & paste is the only way. The other
program CHANGES ITS ACTIVE WINDOW AND KEYBOARD FOCUS every time it is
activated, so the only way to copy & paste from my program is to do so
without my program ever being activated.)
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden