User Interface


UI Design

User interface design is a vast and often misunderstood area of application design. Too often, in application development, there is a large amount of time spent designing the data and the application framework. There is very little time spent designing the user interface.
Stretching Intellisense

The Visual FoxPro help system defines intellisense as, "IntelliSense in Visual FoxPro displays popup windows and dropdown lists that assist you with statement and function completion syntax, and displays the available variables, objects, properties, methods, and events (PME) of objects."
Faster Programs

Everybody wants speed. Faster is better, they say. How do you optimize your code? Is there any structured approach you can use to get the most performance out of a program? This month we will examine some principles that can be implemented to the code optimization process. This article will not be a treatise on Rushmore, Rushmore has and will be covered in other places. Instead we will focus on coding practices and techniques for getting the most performance out of your applications.
OLE Drag and Drop

This session will be focused on the new OLE Drag and Drop capabilities in Visual FoxPro 6.0. Although our focus is on Drag and Drop we will spend some time discussing the user interface technique of direct manipulation in some detail in order to understand where drag and drop fits into user interface design.
Mouse Events I

If your application needs to keep track of mouse actions you can either call an exterminator or use the events that Visual FoxPro gives us to track the mouse and its buttons. Since my users get upset when that guy with the metal suit starts smashing their mice, I prefer to use the events in Visual FoxPro.

There are a number of events that can tell us about mouse activities. MouseMove, MouseDown, MouseUp, Click, RightClick, DoubleClick, MiddleClick, and the MouseWheel events are the ones we are interested in.
Mouse Events II

The Button on the Mouse Goes Up and Down. MouseDown, MouseUp, and Click events when do they fire and in what order.
Data Buffering Part I

In FoxPro 2.x we spent a lot of effort to preserve record values so we could offer the user an opportunity to revert their edits. Visual FoxPro gives us a mechanism to make this issue easier to handle. Data buffering is the tool to use for this. In this article and the next few we will examine the nuances of data buffering and the other ancillary requirements in Visual FoxPro. This month, the basics of data buffering.
Data Buffering Part II

This month you will see the TableUpdate and TableRevert functions and understand how they are used with data buffering.