Home > Archive > Getting Started with dBASE > July 2005 > When to use .cfm forms









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author When to use .cfm forms
John E Sherrer

2005-07-25, 8:25 pm

Hi folks

This question came out of my last post. When is the proper time to use .cfm
forms?
John


Charles Crume

2005-07-26, 3:23 am

Whenever you will be subclassing more than 1 form from it.

Charles...


"John E Sherrer" <john1@whitecane.org> wrote in message
news:khT2xWXkFHA.1768@news-server...
> Hi folks
>
> This question came out of my last post. When is the proper time to use
> .cfm
> forms?
> John
>
>



Ken Mayer [dBVIPS]

2005-07-26, 7:23 am

John E Sherrer wrote:
> Hi folks
>
> This question came out of my last post. When is the proper time to use .cfm
> forms?


A Custom Form is used when designing an application where each form (or
many of the forms) in the application have similar properties, or even
events and methods that you want to make available to all.

A simple example is that you may want all forms in your application to
use a metric of 6 (Pixels), and have a light blue background. If you set
these properties in a custom form, then all subclassed forms will
inherit these properties without your having to set them.

Then, if the customer decides that rather than light blue, he wants a
light green, you can change it in the custom form, and all the
subclassed forms will be light green, rather than light blue.

It can get more complex than that.

And, it is highly recommended.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
John E Sherrer

2005-07-26, 8:23 pm

Hi Charles & Ken
Should a .cfm form be used as a regular form? Or should it be used only as
a tool for updating the forms derived from it?
John

subclassing more than 1 form from it.

Charles...


"John E Sherrer" <john1@whitecane.org> wrote in message
news:khT2xWXkFHA.1768@news-server...
> Hi folks
>
> This question came out of my last post. When is the proper time to use
> .cfm
> forms?
> John
>
>




Charles Crume

2005-07-26, 8:23 pm

Ken can correct me, if necessary, but I don't believe you can use a .cfm as
a "regular" form -- gotta use a .wfm

Charles...


"John E Sherrer" <john1@whitecane.org> wrote in message
news:4LOQAoikFHA.320@news-server...
> Hi Charles & Ken
> Should a .cfm form be used as a regular form? Or should it be used only
> as
> a tool for updating the forms derived from it?
> John
>
> subclassing more than 1 form from it.
>
> Charles...
>
>
> "John E Sherrer" <john1@whitecane.org> wrote in message
> news:khT2xWXkFHA.1768@news-server...
>
>
>



Ken Mayer [dBVIPS]

2005-07-27, 7:23 am

John E Sherrer wrote:
> Hi Charles & Ken
> Should a .cfm form be used as a regular form? Or should it be used only as
> a tool for updating the forms derived from it?


A subform doesn't run, so it can't be used as a regular form. It is a
tool ...

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com