user-interface

When should I use a ellipsis in a Menu Item

The question title pretty much says it all. When should I put ... at the end of a menu item? I seem to remember reading some rules but can't for the life of me find them. For context - I'm adding a properties option to a right click menu and am wondering if it is appropriate to add them. regards ...

VB6 PictureBox Mouseover

I'm using a VB6 PictureBox on my User Control. I set the PictureBox's picture, I set the BorderStyle to 0, and I set the BackColor to the User Control's BackColor. The idea is that I want a "floating" icon. However, I want that icon to appear clickable when the mouse hovers over it. Two questions: Which events do I use? MouseMov...

Dynamically growing an array of text inputs (HTML/JavaScript)

I'm creating a data entry app for some in-house stuff. My team needs to enter info about "items" which can have many "categories" and vice versa. I need a quick way to let them enter an arbitrary amount of categories. Here's my idea: On the item entry page, I'll have it so that initially there's one text input for "categories" and if...

Most elegant UI for categorizing items?

I have a collection of items that the user needs to group/categorize in several ways. For the sake of an example, let's say it's a collection of cars and the user wants to categorize them in the following ways: Color (red, silver, blue, black, etc.) Body shape (hatch, sedan, coupe, stationwagon, etc.) Seats (2, 4, 5, 6, etc.) etc. Ha...

QT: show result of Color selection?

What is the best way to give the user feedback for a color selection? I have a dialog with a "Select Color" push button which pops a QColorDialog. After the selection is made I want to show the user the color selected. Usually I do this using a QLabel and changing it's background color in the palette. This method is cumbersome and I thin...

jQuery droppable / draggable problem

At the moment I have a set of divs, generated dynamically by php and all having their ids starting with 'itembox', with a count number appended. I have a droppable garbage bin area on the page so that the user can delete an individual itembox by fdragging and dropping on to the bin. My problem is that the droppable won't seem to activat...

An easy way to set the active tab using controllers and a usercontrol in ASP.NET MVC?

How do I create tabbed navigation with the "Current" tab highlighted in the UI? ...

Returning an interface from a WCF service

I have some .NET remoting code where a factory method, implemented in some server side class, returns interfaces to concrete objects, also executing on the very same server. .NET remoting automagically creates proxies and allows me to pass the interfaces across to the client, which can then call them directly. Example interfaces: publi...

Rich interaction in Java/JSP web app

I'm writing a website in JSP using Struts and Hibernate. I'm looking for a way to implement a rich UI where you can have more than just buttons. For examples, drag and drops, drop down lists that updates itself in real time as you type more letters out etc. Is there a way to use something like Swing with Struts and Hibernate? Or are ther...

Sliding Notification bar in java (a la Firefox)

I would like to implement a sliding notification bar as the one in Firefox or IE for my java application. But I don't want to reinvent the wheel and I'm sure someone out there has already done it and is willing to share. Do you know any open-source implementation of this in java/swing? ...

When should a UI be updated?

I'm working on an online tool for students in my faculty to calculate their final grade for their degrees, and for a while I've had little problems. Students seem to like using the new UI and I've suffered no criticism for a while. Now, I need to add some functionality to the program, meaning the UI will have to chance slightly, but in s...

Do you test on high-res screens and with non-standard/high contrast colour schemes?

I use a non-default Windows colour scheme on most of my machines, and have a laptop with a 124 DPI screen, which Windows is set to. A lot of programs I tested or even use daily seem to have problems with that, showing for example non-standard sizes of controls, cut-off UI elements, unreadable text and so on. There is the whole range fr...

Display confirmation popup with JavaScript upon clicking on a link

How do I make one of those hyperlinks where when you click it, it will display a popup asking "are you sure?" <INPUT TYPE="Button" NAME="confirm" VALUE="???" onClick="message()"> I already have a message() function working. I just need to know what the input type for a hyperlink would be. ...

How to create a dashboard user interface using ASP.NET MVC?

I am currently building an application using ASP.NET MVC. The data entry pages are fairly easy to code, I just make the Model for the page of the type of my business object: namespace MyNameSpace.Web.Views.ProjectEdit { public partial class MyView : ViewPage<Project> { } } Where I am struggling is figuring out the best wa...

Need advice regarding layered solution, separation of concerns, etc.

We have a layered application, or at least is in the process of transitioning to one, broken down as follows: Interface (user-interface or application-interface, ie. webservice, etc.) Business logic Data access To make the rest of this question more concrete, I'll describe a specific instance. We have a user interface, which has a c...

Is the UI a valid indicator of internal quality?

When looking at the myriad types of software written at our company, I instantly jump to conclusions of the quality of the entire product based on the UI. If I find misspellings, weird tab orders, fields not lined up, odd colors, I assume that the entire application is of poor quality. I'm assuming that if the programmer doesn't care e...

Editing in grids vs. detail forms - how smart are end users?

I love grids - especially the cool third party ones like Devex, C1 etc.. Our programmer doesn't think end users can handle them - so he always designs his forms with read-only grids (with read-only classes). Choosing to edit an item in the grid opens up a detail form that allows editing. This app is going to be used by general busin...

Can I create a thread that can modify the user interface, and that I can abort?

I have a lengthy user-interface operation on my form which is triggered whenever an event is fired. Rather than have the UI block while the operation takes place, I'd like to perform the operation in another thread, and abort that thread and start again if the event fires again. However, to safely alter controls on my form, I need to u...

How to implement (UI-wise) a button

I am designing the (G)UI of a program, and have stumbled across a problem; The program will convert a number into different units, and the layout of a unit been cvonverted to is: [Unit name (when clicked gives information)] [Special status, if any][Output in textfield that can also be used for input (to convert to other units)] I want ...

Selecting the Correct View for an Object Type

I've had this problem many times before, and I've never had a solution I felt good about. Let's say I have a Transaction base class and two derived classes AdjustmentTransaction and IssueTransaction. I have a list of transactions in the UI, and each transaction is of the concrete type AdjustmentTransaction or IssueTransaction. When I...