What is functional class in Centura?

374 Views Asked by At

I am a new programmer in Centura, I am familiar with the concept of class from C++ or JAVA but I am little bit confused with functional classes in context of windows. Can somebody explain me, what is it and how its works? Thank you

3

There are 3 best solutions below

0
Chandralal On BEST ANSWER

Functional class is used to,

1.Create user defined variables.

2.Define behavior(functions) that is shared by more than one window class.

Functional class can be created by right clicking the Classes folder of Teamdeveloper and then select new functional class from the popup menu.

enter image description here

A functional class can be,

  1. Base class of another functional class.

  2. Base class of a window class.

  3. Derived from another functional class, but not from a window class

If behavior needs to be shared by more than one window type, you can place the behavior in a functional class and then derive window classes from that functional class. The derived classes inherit the common behavior as well as behavior appropriate to their window type.

0
Steve Leighton On

The subject is greater than can be explained here. Go to: Gupta TeamDeveloper Manuals to download which ever set of manuals is applicable to the version you are running, and the most comprehensive explanation of Functional Classes ( and other types ) is in 'dev.pdf' manual. p.s. 'Centura' has been called 'Gupta Technologies Team Developer', or 'SQLWindows', or 'TD.Net' for about the last 20 years.

0
MA Qureshi On

create a program show user enter name of day get day from user check if day is Monday ="check day" tuseday="bicep day" wednesday="tricep day" thurs day="lnirgs day" friday ="heg day" saturday="Abs day" Sunday ="rest day " show user what exercise he was to on that day