Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Boudewijn Lutgerink
 To: Zafar Mahmood
  Where is Zafar Mahmood?
 Zafar Mahmood
Subject: RE: Creating Forms
Thread ID: 116417 Message ID: 116428 # Views: 58 # Ratings: 1
Version: Not Applicable Category: Forms
Date: Monday, December 18, 2006 8:05:04 AM         

> I am looking for an artical explaning best techniques on how to create modeless forms.
> I also want form designing principles, so that multiple forms can be opened and non will get confused with other form opened.
> Regards
> Zafar Mahmood

By default the VFP forms ARE modeless. You have to explicitly set the form's behavior to modal if you want that.
If it comes on how to create a good BASECLASS for your forms, I'ld say that reading everything you can get a grip on about design patterns is a good one. Our very own Andy Kramek just started a series on DP in his blog. Steve Black also has a lot of articles on his site about DP. The book by Vlissides, Gamma, helm and Johnson is a good one as well as the books of Grady, Booch and Jacobson. (Gang of three, responsible for UML).

If it comes to form designing principles, take a good look first at how M$ does things and try to follow that as much as you can (and most of it, if not all, can be done in VFP).
Your advantage then is that you offer your users an environment in your apps that is already familiar to them by the other products they use. This means less training time and they are up and running sooner, making your apps a moneymaker in terms of productivity.

a good book is "about face" by alan cooper (ISBN: 0764526413), be prepared however, this is the first technical book that will bring tears to your eyes from laughing. Nonetheless, the value of this book stands above everything else if it comes to UI design.
Another good book is by Joel Spolsky, UI design for programmers.

When it comes to not having the forms getting confused with eachother when opening or closing, read everything you can on Databuffering and datasessions. Andy kramek has some good articles in his blog, I wrote a short article that is available on the articles pages of this fine site.

Boudewijn LutgeĀ®ink
The attitude of "An eye for an eye and a tooth for a tooth" will make this world toothless and blind (Gandhi)


Creating Forms Posted by Zafar Mahmood @ 12/18/2006 4:07:14 AM
RE: Creating Forms Posted by Boudewijn Lutgerink @ 12/18/2006 8:05:04 AM
RE: Creating Forms Posted by Ken Murphy @ 12/18/2006 11:30:19 AM
RE: Creating Forms Posted by Zafar Mahmood @ 12/19/2006 2:34:16 AM
RE: Creating Forms Posted by Marcia Akins @ 12/20/2006 10:52:46 PM