What kind of icons are available to depict object specific states - user-interface

What kind of icons can be used to show an object specific state
e.g. user who has just been created, user who has been activated so that he can use the portal, user who has been removed from the system
e.g an object which has just been created and still in the draft stage and an object which has been activated or de-activated and cannot be used

I'm not really sure how to reply...to best get an idea, get an icon archive such as Oxygen Icons or Crystal Icons.
new user: a user icon with a green + in bottom-right corner
new object: depends on the type of object, a generic icon would be an object icon (maybe a circle) and a green + in the bottom right
normal object: object a with a green tick sign
archived object: object a with a gray tick sign

Related

OSX: Control where the red item count badge on NSCursor appears during drag

My app, which accepts drags from other apps, has to choose its own cursors during a drag over its window.
For example, it has to be able to show the dragLinkCursor even if the user doesn't hold the option and cmd keys down, or show the operationNotAllowedCursor in some other cases.
This works nicely if the user drags single items. But if the user drags multiple items, e.g. several files from Finder, the cursor also gets a red badge showing the number of items in it. And that red badge appears in the location where my chosen cursor is shown, overlapping it. That's not good.
Apart from making my own cursor shapes that place their own badges in a different position, and me predicting where the OS drag handler will decide where to place the red badge depending on the pressed modifiers...
Is there a way to have the red badge appear in a specific location (e.g. always 20 px to the right so that it cannot overlap with the default cursors), or suppress it entirely, so that I could add my own when the mouse cursor is in my window?

show NSUserNotification additionalActions on click

In the image above you can see two notifications on OS X. The first one is from my app and the second is from Apple's Reminders.app. In the image you can see the otherButtonTitle 'Complete' and the actionButtonTitle 'Later'.
The second notification, i.e. the one from Reminders.app behaves quite differently. It gets this little arrow pointing downwards on mouse over indicating that there are more actions when clicked. And indeed, you just need to click once on 'Later' and it will give you a couple more options to choose from.
However, I can't get the same behavior to work for my notification. I don't get the little arrow on mouse over and I don't get more options displayed from a single click on 'Later' (notification just gets dismissed). More options only get displayed when holding down the mouse button on 'Later' which is not obvious.
Am I missing something obvious here? How can I get my notification to have exactly the same as the ones from the Reminders.app?
While trying to find a solution for the same problem I found this nice explanation for the NSUserNotificationPrivate class that explains how the Reminders app does it.
https://github.com/indragiek/NSUserNotificationPrivate
If the notification type is set to "Alert", the alternateActionButtonTitles property lets you set an array of additional menu item titles to be shown in an action menu that can be accessed by hovering on the Action button and clicking on the arrow.
Once a notification is handled, the index of the action can be retrieved using the _alternateActionIndex property.
So they are using a private API. As the site's disclaimer say using any of this will result in your app being rejected from the MAS and potentially breaking if the APIs change.

Getting the current value of a textbox in Access 2013 Custom Web App

in a List view I want a particular control (textbox) to have a red background color if it has a certain value. I have tried the following:
Click on the textbox then click the Data icon in the context sensitive controls that appear. I can then see that the name of the control is First_NameTextBox. I then click anywhere on the List view and click the Actions icon in the context controls that appear to the right of the view. I select "On Current". I then create two steps that should be executed whenever a new record is activated:
If [First_NameTextBox] = "somevalue" Then
SetProperty
Control Name [First_NameTextBox]
Property BackColor
Value #FF0000
End If
However, this turns the textbox red no matter what the value in First_NameTextBox is. How do I reference the CURRENT value of the textbox?
Conditional formatting based on a field value is not available for the List View in a Web App.
If you've built web pages (with or without a templating engine), the design limitations of Access can be frustrating.
Another kind of frustration comes from moving a form in Access from the native Access environment to a browser-based display.
I've felt the first kind of frustration, but so far I've avoided the second kind. I keep MS Access and HTML-rendered forms far away from each other.
Conditional Formatting in the List View of Access Web Apps is Available its just way harder than it should be.
Input "If Statement" under the "Current Macro" by clicking outside any text box or label then traveling to the top right of the view and you will see the Lightning bolt which allows two options, "On Load" and "On Current".
SELECT ON CURRENT
Don't forget You will need to set the control back to the original color by using the else. (also, for some reason I have to flip the Colors so where you would think red would go, Put White.
Example:
IF = "" True Then
White
Else
Red
END IF /DONT ASK ME WHY!
Summary: your Code is Sound, Just input it under the Views Current Macro Location
This is my first post, i spent DAYS looking for this information and found in the deep google somewhere so i hope this helps you.

Change/modify application icon during execution

I want to change the application icon when a button is pressed, or when the app is in a particular state (updating data for example). But I can't find the way to do it.
For example the Steam icon, that when an update is downloading or uploading data have a line of points added to the normal icon of Steam.
I've searched but can not find the way to go.
For example in the case of the Steam icon, and added these lines, superimposing two PNG, the upper transparent background??
Is it possible to completely change the icon at runtime? You mean we have such a square as an icon and pressing a button that becomes such a circle?

How can I get the screen position of the DockTile in OSX?

I need a window to 'point' to the icon that was clicked on in the dock, similar to the way the context menu has the little callout-arrow pointing to it. This means I need to get the screen location of the dock, or more accurately the DockTile. (Yes I could use the mouse coordinates, but that doesn't look as good as it 'moves'.)
Now my thought is to get the associated view (I already have that), then use view-to-screen coordinate conversions, but that's becoming problematic as the x/left and y/top values of the bounding rectangle always say zero. I know that's because there's a nested hierarchy of views as well. Problem is I've walked it and always end up hitting a road block.
So thoughts?
Mark
You can get the dock icon positions using the accessibility API, there's some excellent sample code and app from Apple here.

Resources