Is there a way to suspend all anchored controls on a form from moving or resizing themselves temporarily? i.e.:
procedure ScaleFormBy(AForm: TForm; n, d: Integer);
begin
AForm.SuspendAnchors();
try
AForm.ScaleBy(n, d);
finally
AForm.ResumeAnchors();
end;
end;
I need to do this because I'm calling
AForm....
I'm adding new logs line to a WinForms TextBox object, and this causes the textbox to scroll to the bottom. How can I prevent this and retain my current position? (a short code snippet would help)
...
I deployed many midlets on Blackberry, but now I want to try their CLDC model. Never deal with it. What is the best resource to read for a quick start (except the BB examples?)
...
I maintain an MFC (VC6) MDI application that uses Frame Windows as views for a document. There is only one document at a time but there are several MDI-Frames each with a different view of the document data.
Recently a request came up to be able to keep one of those frame windows on top of the others while being able to interact with th...
What's the easiest way to implement (something like) Gmail's interface for labeling messages? Does any javascript library have a widget like this?
Behavior:
Click a label in the dropdown to immediately label the message.
Check multiple labels and then "Apply" to add multiple labels (not sure I like the "Apply" requirement...)
Type i...
After reading a StackoOverflow question
http://stackoverflow.com/questions/182112/funny-loading-statements-to-keep-users-amused,
I was really intrigued to ponder upon this question "Can humor cut down on response time?"
In a page loading lots of data, instead of just "please wait" or "loading data", can a humorous / funny / witty mess...
What is currently regarded as best practice in UI design for displaying actions that are not available in the current context.
For example, A page displays customers who can have many associated contracts. I do not wish to allow the user to delete a customer if there are active contracts. From a usability and UI perspective what is cons...
Hello,
Can anyone point me to a tutorial on how to create an outlook like interface in WPF?
Thanks
...
Ribbon application crash on some systems while it works fine on others. I have statically linked to MFC. Still it crashes on random systems. I debugged it on the system on which it crashed and found that the FindByID returns NULL for CMFCRibbonSlider in OnUpdate.. function. Other ribbon controls are working fine.
CMFCRibbonBar* pRibbon ...
Hello
I'm looking for ways to de-spaghttify my front-end widget code. It's been suggested that a Finite State Machine is the right way to think about what I'm doing. I know a State Machine paradigm can be applied to almost any problem. I'm wondering if there are some experienced UI programmers who actually make a habit of this.
So, t...
Rather than using a "save" button on a web form, many web designers like a "save as you go" approach. Where as the user's changes to the data are saved immediately once the user changes focus out of say a text box.
Has anyone identified a formal pattern for this technique? I especially need to tie it all back to chunky service call. ...
I've tried <UIRef Id="WixUI_Minimal" /> but I get "Unresolved reference to symbol WixUI:WixUIMinimal". What am I doing wrong?
...
Let me summarize that shortly: A "First Responder" in a NibFile is an Object, which represents the UI control element that has the user's focus. So if the user klicks on an UI control, the Nib sets that clicked UI control as First Responder. In my app I could make an outlet to that "First Responder" from the Nib, so that I could for exam...
In my day to day activities I often find myself wishing I could go into the source code of something and change it so that it was more intuitive or to add a feature which would be easy to implement, but for some reason was never added.
What are some projects you wish you could contribute to but haven't or can't?
Highest on my list is m...
I want to provide my users with an 'advanced' search engine.
I basically have a lot of search criteria to chose from :
some are very simple/common and will be largely use (ie time period, item id)
some are a bit less mainstream
and some won't be used a lot, but I still want to provide them
Overall, I have around 30+ criteria to chose...
It happens sometimes that one feature seems to belong to more than one place.
Trivial example, let's say I've got the following menus :
File
Pending orders
Accepted orders
Tools
Help
I've got a search feature, and the same search window work for both pending and accepted orders (it's just an 'order status' combo you can change)
Whe...
I've been wondering, at what point should I give up the convenience of a static data entry form with designer support for a dynamic UI which removes a lot of code duplication?
There seems to be a conflict in the programming world where people constantly try to remove code repetition to improve maintainability and yet when it comes to fo...
Have been programming with VS studio 2005/2008 making ASP.NET applications for a while.
I am interested in experiences with Microsoft Expression Web 2 (strengths and weaknesses)
...
When using a UITabBarController, how do you get the size of the tab bar at the bottom ?Similarly, how do you know how much room you have inside the tabbed-view for your content? I see a lot of examples of people sizing their tab child views to [[UIScreen mainScreen] applicationFrame], which can’t be correct because the tab bar takes up ...
While novice software designers expect their users to behave rationally, it's far from being the case ; I've seen many times the user perception being totally disconnected from reality, or it's feedback obviously irrational.
I think we are the one who should adapt, not the other way around.
There's only one way that I know of to achiev...