Re: Enabling add button
Re: Enabling add button
- Subject: Re: Enabling add button
- From: Andre Masse <email@hidden>
- Date: Thu, 18 Dec 2008 14:52:23 -0500
Thanks for your reply.
Why do you need the button's enabled state to depend on which
control has focus? This is *not* usual Mac OS X UI behavior and is in
fact counterintuitive. As a user, I would never think to click inside
a table to enable an associated button. I would assume that - for
reasons unknown - I'm not allowed to add to that table because it is
grayed out. Unless, of course, I happen to click in the table first
... then I would still likely not associate the behavior with clicking
the table. I would most likely report this to you as a bug in the UI.
Most astute users would (if they bothered continuing to use a
perceived "buggy" application) as well.
I suggest you reconsider this. Better yet, post your reasons why you
feel this is necessary and maybe others can suggest alternatives.
Let me explain a bit more. This is an in house application for only 3
people (me, my wife and my son) that was originally built with 4th
Dimension. I agree that this is not the expected behavior for mac
users but it is for mine, as this is the way automatic buttons are
handled in 4D. I'm willing to make this more "mac like" but I want to
prevent something like this:
1- user select a row in the master table view,
2- press the button's shortcut (intentionally or not)
3- a row is added to the detail's table view but since it does not
have the focus, the row selection's is grayed and its not that evident
that an operation has occurred. Further more, to edit the new row, the
user will have to move the focus to the table view by clicking on it...
At a guess, the reasoning is that you only want users to be able to
add to the details of the selected master object when a master object
is selected. Right? If you describe your setup a bit more
(particularly the controller and button bindings/targets), maybe we
can help you figure out why the add button is always enabled.
The detail's view is only shown when a row is selected in the master
table view. If not, a view similar to Versions (http://www.versionsapp.com/
) is displayed. I should mention that this application uses a lot of
data entries and almost all operations are done using the keyboard. A
typical use case is something like this:
1- do a query to find a client by name
2- user either add a client or modify one by adding rows in the
detail's table view
repeat...
The master table view use a datasource (no bindings).
I'm open to any suggestions,
Andre Masse
_______________________________________________
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