Object-Oriented Design

What are the activities involved in object-oriented design? Please, please, please help and explain in as much detail as possible. Thank y'all for any help y'all give and god bless you.... Kay can someone please explain give me a definition of what object oriented design is then???
Anonymous User
Anonymous User
Asked Mar 07, 2011
Edited Mar 07, 2011
The activities (as they would be done in Visual Basic) are:

(1) Placing objects like text boxes, list boxes, picture boxes and command buttons on a form in the best arrangement for the user to do the task.

(2) Set the properties of each Object. Width, Height, Colors, Visible etc.

(3) Code the events of each object. What happens when the user clicks the object, types on it or drags the mouse over it for example?

A useable project would also require some "procedures." A procedure is either a Sub or a Function. The only difference is that a Function returns a value and a Sub doesn't. You could have a Sub named "PutFile" that would write the file to a disk and "GetFile" that would read it back. In the code, the statement "PutFile would run the procedure. Functions would be used for recurring calculations used in a number of places in the code.

You would also have to define the variables and their scope (where they can be read in the project.)


Rob
Answered Mar 07, 2011
Edited Mar 07, 2011
Object oriented design is the process where you have a program that can be considered to carry out a specific task and has a set of values held in variables for that purpose.

Then, you may wish to write a function for a calculation that is part of that. Then, in OOD, the function has to written so that it inherits the value and variables already defined within the calling program. Ideally, the reverse can be true, where the calling program can inherit the values and variables of the new function.
plane007
Answered Mar 11, 2011

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories