user-interface

iPhone restrict user from entering space in textfield

hi , i want to restrict user from entering space in a UITextField. for this i m using this code - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { if ( string == @" " ){ UIAlertView *error = [[UIAlertView alloc] initWithTitle:@"Error" message:@"You hav...

How to port web ui to desktop app?

I have seen a lot of people try to make a web ui looks like a desktop ui. However, most of the time i feel web ui is much more interesting than the desktop ui, with the help of javascript toolkit like jquery, gwt-ext etc. My question is, how to port the web ui to desktop ui? Do I need to embed a javascript engine in java? css engine? ht...

Blackberry setting the position of a RichtextField in FullScreen

I am writing an application in BlackBerry, where I want to do some custom painting at the top portion of the screen in the paint method of FullScreen and at the same time, I want a RichtextField positioned at the lower portion of the screen. I tried using setPosition methods in the Field class, but to no avail. So how do I set the positi...

Displaying units on a form input?

I'm currently working with a lot of forms which are expecting different forms of numeric input and I thought that it would be helpful to the user if I could indicate the units next to the input. In other words, if an input expects a dollar amount place a dollar sign to the left side of the input. If the input expects a percentage place...

Flex 3: How can I change a PopupButton into a regular Button when there's only one menu item available?

Hi there. I have a PopUpButton that only contains 2 actions. Both actions are complete opposites of each other and switches a boolean property on an object from true to false or false to true. To avoid redundancy, I've only displaying one action at a time. So, if the property is true, the action to change it to true is not shown. ...

Generic way to ask which browser they're using ?

What I would like to do is have a text input with the question "what browser are you using" above it. Then when a form is submitted, I'd like to compare their answer to their User-Agent HTTP header. I'm a little stumped on how to reliably make this work though. I could ask them to spell it out instead of using acronyms like IE or FF, b...

Visual Studio UI Improvement OCD Mode

Hey, I am wondering if anyone knows how to pull this off. Here goes. I have a multi monitor setup, and I maximize Visual Studio to both windows. I create a new vertical document tab control, so that I have one document tab control in each physical screen. This is fine. Now, I want to be able to make them work as if they were connec...

Suggestions for choosing an automation QA package?

What QA package offers the widest possible support and is the easiest/fastest to develop for? The qualities I am looking for are: widest support of scripting languages, or which language your preferred package supports capability to test webpages for interaction against forms and user interfaces capability to test data input for quali...

How do I make an info bar at the top of the page like on stackoverflow.com?

Im seriously jealous of the person who designed this website and in particular the 'info' bar at the top of the page that notifies you every so often. I very much want this on my website, does anyone know of a downloadable script that resembles something like this? (php) An answer from the stackoverflow design team would be nice! ;) ...

Multilanguage Application UI

I have a small application that will be used by both spanish and english users. The application has about four webpages with various asp.net functions. The database backend is sound. What is the best approach for the front end / UI? Two websites with the different languages ? A single website with all text in both EN, ES? Or a single we...

working with buttons in a grid - GWT

hi all, i am using GWT 1.6 and i am pretty new to it. my question is about the use of a button as part of a grid row. how can the onClick method that the button has refer to the data in the grid? how i can make the button be aware to its raw and the other data that exists on the same row ?? thanks Me ...

Managing Swing Actions with a Registry

Typically when I'm creating a Swing (or any UI) application, I have various Actions that appear on menu items and buttons. I usually create an action registry and store the actions in there and then when certain things occur, I disable/enable actions in the registry based on the state of the application. I wouldn't call myself an avid Sw...

Is it possible to implement the effect of turning pages of a book with jQuery?

Or is there a ready plugin that can achieve this? ...

How to set the Componenets in Horizontal Manager in Blackberry?

Hi friends, Can any one tell me how to set a componenets in a particular position in horizontal layout manager in blackberry.If u can provide me some code snippet. regards, s.kumaran. ...

On scaling tags in a tag cloud

I am implementing a tag cloud on a mobile device. The details of data-model etc, are not particularly important here. My question is about the scaling of tags: What is the 'best' expression to map tag frequency to font size? I have looked at this post discussing linear and logarithmic scaling and this answer from Adrian Kuhn sketch of ...

Trying to find the name of a really old UI design book by Apple

This morning, I was reading a news article on Apple (either Snow Leopard or FCC), and I came across a part that referred to an old book by Apple (IIRC), that had two parts, and the first part was just on UI design. I was trying to get a copy of that book, but it seems I lost the link to the article. Does this book ring a bell with anyone...

How to write "good" user interface texts?

Many applications are let down by the quality of the 'writing' in their user interfaces: typically, poor spelling, grammar, inconsistent tone, and worse yet, "humour" are the usual offenders. Are there good resources that can help developers to write UI messages that give a professional and positive impression to your customers, even wh...

Control without a form in VB .Net

I would like to make an application where there is no form, only controls, this way theuser can see what they are doing on top of their work. How could I for instance put a textbox on the screen, just like form1, but without it being a parent of form1, almost as if it was form1. Basically form1 is hidden. Thanks ...

Best way to display this in a form?

On my website, I have two tables which are linked using a pivot table. What I am trying to do is let a user update the relationships between the two tables (inserting and removing records from the pivot table). I have no problem doing this in PHP, but what I am concerned about is the way the form is displayed in the users web browser. T...

Difference between UI and UX

Can someone please help me to formally define the difference between User Interface and User Experience? I need to come up with a definition so that if ideally two different people were to be assigned to UI and UX on the same project it would be clear which responsibility each of them would have. ...