Free Essay

Anything

In:

Submitted By jeb10
Words 3562
Pages 15
What Are Properties, Methods, and Events?

Using containers
Remember that a container is an object--such as a form or the Frame or PictureBox controls--that can contain other controls.

Put simply, properties describe objects. Methods cause an object to do something. Events are what happens when an object does something.
Every object, such as a form or control, has a set of properties that describe it. Although this set isn't identical for all objects, some properties--such as those listed in Table 6.1--are common to most controls. You can see every property for a given control by looking at the Properties window in the IDE.
TABLE 6.1 Common Properties of Visual Basic Controls Property | Description | Left | The position of the left side of a control with respect to its container | Top | The position of the top of a control with respect to its container | Height | A control's height | Width | A control's width | Name | The string value used to refer to a control | Enabled | The Boolean (True/False) value that determines whether users can manipulate the control | Visible | The Boolean (True/False) value that determines whether users can see the control |
Another important property to consider is BorderStyle, which determines the window elements (title bar, Maximize and Minimize buttons, and so forth) a form will have. Table 6.2 summarizes the six BorderStyle settings; Figure 6.1 shows the same form, displayed with each setting.
TABLE 6.2 The Six Settings of the BorderStyle Property Setting | Description | 0-None | No borders, no title bar, not movable. Use this as a backdrop for a splash screen. | Setting | Description | 1-Fixed Single | Not sizable by dragging borders but can have Maximize and Minimize buttons. Use this for any fixed-size window for which you want a button to appear in the taskbar. | 2-Sizable (default) | Sizable by dragging borders and by using Maximize and Minimize buttons. Use this for typical programs. | 3-Fixed Dialog | Not sizable and no Maximize/Minimize buttons. Use this for simple forms such as a password dialog. | 4-Fixed ToolWindow | Similar to 3-Fixed Dialog except that the title bar is shorter and the title bar font and Close button are correspondingly smaller. Use this for floating toolbars. | 5-Sizable ToolWindow | Similar to a 4-Fixed ToolWindow except that it's sizable by dragging the border. Use this for windows such as the Visual Basic Properties window. |
The BorderStyle property of a form can be set to one of six different styles. Notice that some styles can look exactly the same as other styles.
Methods are blocks of code designed into a control that tell the control how to do things, such as move to another location on a form. Just as with properties, not all controls have the same methods, although some common methods do exist, as shown in Table 6.3.
TABLE 6.3 Common Methods of Visual Basic Controls Method | Use | Move | Changes an object's position in response to a code request | Drag | Handles the execution of a drag-and-drop operation by the user | SetFocus | Gives focus to the object specified in the method call | ZOrder | Determines the order in which multiple objects appear onscreen |
Events are what happen in and around your program. For example, when a user clicks a button, many events occur: The mouse button is pressed, the CommandButton in your program is clicked, and then the mouse button is released. These three things correspond to the MouseDown event, the Click event, and the MouseUp event. During this process, the GotFocus event for the CommandButton and the LostFocus event for whichever object previously held the focus also occur.
Again, not all controls have the same events, but some events are shared by many controls (see Table 6.4). These events occur as a result of some specific user action, such as moving the mouse, pressing a key on the keyboard, or clicking a text box. These types of events are user-initiated events and are what you will write code for most often.

Using GotFocus and LostFocus
The GotFocus and LostFocus events relate to most other events because they occur whenever a new control becomes active to receive user input. This makes GotFocus and LostFocus useful for data validation, the process of making sure that data is in the proper format for your program. Be careful, though! Improperly coding these two events can cause your program to begin an endless loop, which will cause your program to stop responding.

TABLE 6.4 Common Events of Visual Basic Controls Event | Occurrence | Change | The user modifies text in a combo box or text box. | Click | The user clicks the primary mouse button on an object. | DblClick | The user double-clicks the primary mouse button on an object. | DragDrop | The user drags an object to another location. | DragOver | The user drags an object over another control. | GotFocus | An object receives focus. | KeyDown | The user presses a keyboard key while an object has focus. | KeyPress | The user presses and releases a keyboard key while an object has focus. | KeyUp | The user releases a keyboard key while an object has focus. | Event | Occurrence | LostFocus | An object loses focus. | MouseDown | The user presses any mouse button while the mouse pointer is over an object. | MouseMove | The user moves the mouse pointer over an object. | MouseUp | The user releases any mouse button while the mouse pointer is over an object. |
The Relationship Between Properties, Methods, and Events

Right and bottom properties
It's important to remember that right and bottom properties don't exist in Visual Basic. Later, you'll see how to position an object by using the Top, Height, Left, and Width properties.

Although properties, methods, and events do different things, it's important to realize that they're often interrelated. For example, if you move a control with the Move method (most likely in response to an event), one or more of the control's position properties (Top, Height, Left, and Width) will change as a result. Because the control's size has changed, the Resize event occurs.
This interdependence means that you can sometimes accomplish the same task multiple ways in your code by manipulating object properties or methods. Consider the following code, which shows two ways to move a CommandButton: `************************************************ `Move the commandbutton by setting the properties `************************************************ cmdMove.Left = 100 cmdMove.Top = 100 `******************************************** `Move the commandbutton by using the Move method `******************************************** txtMove.Move 100, 100
As another example, you can make a form appear and disappear from the screen by using its Visible property or its Show and Hide methods, as follows: `*********************************************** ` Make the form visible by setting the property `*********************************************** frmMyForm.Visible=True `*************************************** ` Hide the form by setting the property `*************************************** frmMyForm.Visible=False `********************************************* ` Make the form visible by using the Show method `********************************************* frmMyForm.Show `************************************* ` Hide the form by using the Hide method `************************************* frmMyForm.Hide
The Importance of Event-Driven Programming
When you create a program in Visual Basic, you'll generally be doing event-driven programming. Event-driven programming means that most of the code you write will be run as users do things within your program or even when certain things happen in Windows--when events occur. Of course, programming this way means that you have to know when events occur and have to write code that will make your program do something in response to the event.
Fortunately, Windows and Visual Basic do most of the work for you. Whenever an event takes place, Windows sends out a message to your program. Your program reads this message, and then runs the code you've attached to the event. If you don't specify code for an event, your program will simply ignore the event.
Generally, this code is known as a procedure, defined as any block of code that can be called from within your application. This code might be used to move objects around on a form, calculate a value from a formula, or write data to a database. No matter the purpose, a procedure always uses this format: [Public|Private] [Static] Sub|Function|Property _ function_name (arguments) [As Type] {...Your procedure code...} End Sub|Function|Property
An event procedure is the place in your project where you put the code that will run when an event occurs. To write an event procedure, you must access the Code window for your object by doing one of the following: * Double-clicking the object * Selecting the object with the mouse and pressing F7 * Selecting the object and choosing Code from the View menu * Selecting the object's form in the Project Explorer, clicking the View Code button, and choosing the object from the Code window
The code you write in an event procedure will run whenever the event occurs.
Visual Basic automatically generates an event procedure when you select an event in the Code Window. In Figure 6.2, notice that you name event procedures by joining the object's name and the event name with an underscore character (cmdExit_Click()). When the event procedure in this example is run, it will display a dialog when the user clicks the CommandButton named cmdExit.
Using Properties, Methods, and Events in a Sample Program
Now is a good time to bring together everything you've learned about properties, methods, and events in an application named MoveIt.
The MoveIt program can be moved around onscreen when users click the buttons on its interface.
MoveIt consists of the form frmMove, which contains four CommandButtons placed in its corners. When you run MoveIt, clicking one of these buttons will move the form to the corresponding corner of the screen. In the center of the form is a label that will provide event notification--in other words, it will report information such as mouse movement and which button has the focus.
Create MoveIt (general steps)
1. Create the graphical user interface (GUI).
2. Program the Form_Load() event procedure.
3. Program the Click() event procedures.
4. Add the event notification.
Creating the Interface
Create MoveIt's GUI
1. Create a new project by choosing New Project from the File menu. Select Standard EXE from the New Project dialog.
2. In the Properties window, change the name of the project's form to frmMove. (You can call it something else if you want, but make sure that you're consistent.)
3. Add four CommandButtons to frmMove's corners and add a label in the center. You don't have to position the buttons and label exactly because you'll later put them in the proper locations by using code.
4. In the Properties window, name the label and the four buttons.
Remember, you can add controls to a form by double-clicking them in the ToolBox.

Form_Load() event procedure naming
Whereas the event procedures for controls are named by joining the names of the object and the event with an underscore character, forms are different. No matter what you name your form, Visual Basic will always use the generic name Form instead of the name you choose. For example, even though the form in this example is frmMove, the name of the Load event procedure is Form_Load().

5. Now set the BorderStyle property of the form to 1-Fixed Single. This ensures that the form can't be resized while the program is running. Also, set the label's Alignment property to 2-Center and its BorderStyle property to 1-Fixed Single to give the label a finished appearance.
6. Save the form and the project, using friendly names such as frmMove.frm for the form and MoveIt.vbp for the project.
Programming the Form_Load() Event Procedure
You can use the Form_Load() event procedure to prepare the form before showing it onscreen when your program is run. You will use this procedure to * Set the Caption property of the CommandButtons * Set the initial text of the label * Set the form's title bar text * Set the position of the four CommandButtons, the label, and the form onscreen
Open the Code window for the Form_Load() event procedure by double-clicking anywhere on the form except the buttons, label, or title bar. Then, enter the code in Listing 6.1, being careful to change the names if you named your control differently.

Commenting the code
You don't have to type in the comments (lines that start with the apostrophe (`)) because these lines are for your information only. Be sure to read them, though.

LISTING 6.1 The Form_Load() Event Procedure Code for MoveIt 01 `Set the Caption property of the CommandButtons 02 cmdTopLeft.Caption = "Top Left" 03 cmdTopRight.Caption = "Top Right" 04 cmdBottomLeft.Caption = "Bottom Left" 05 cmdBottomRight.Caption = "Bottom Right" 06 07 `Clear the initial text of the label 08 lblNotify.Caption = "" 09 10 `Set the form's title bar text 11 frmMove.Caption = "MoveIt" 12 13 `The rest of the code centers the form on the 14 `screen, sets the position of the four 15 `CommandButtons, and sets the size and 16 `position of the label. 17 18 `Center the form on the screen. This works by 19 `setting the Left side of the form to the center 20 `of the screen, less half the width of the form. 21 `Also, the Top of the form is set to the center 22 `of the screen, less half the height of the form. 23 frmMove.Left = (Screen.Width - frmMove.Width) / 2 24 frmMove.Top = (Screen.Height - frmMove.Height) / 2 25 26 `Set the Left edge of the buttons. The 200 setting 27 `for the left buttons sets a space between the edge 28 `of the form and the buttons. The right buttons are 29 `set by subtracting the width of the button from 30 `the width of the form, and subtracting 300 to 31 `set a space between the button and the form edge. 32 cmdTopLeft.Left = 200 33 cmdBottomLeft.Left = 200 34 cmdTopRight.Left = frmMove.Width - cmdTopRight.Width - 300 35 cmdBottomRight.Left = frmMove.Width - cmdBottomRight.Width - 300 36 37 `Set the Top edge of the buttons. This is done 38 `similar to setting the Left edge. 39 cmdTopLeft.Top = 200 40 cmdBottomLeft.Top = frmMove.Height - cmdBottomLeft.Height - 500 41 cmdTopRight.Top = 200 42 cmdBottomRight.Top = frmMove.Height - cmdBottomRight.Height - 500 43 44 `Set the size of the label 45 lblNotify.Height = 360 46 lblNotify.Width = 3000 47 48 `Center the label within the form. This is done 49 `similar to centering the form. 50 lblNotify.Left = (frmMove.Width - lblNotify.Width) / 2 51 lblNotify.Top = (frmMove.Height - lblNotify.Height) / 2 - 200
Setting these starting values is called initialization.
You write event procedures by adding code to the code window within the IDE.
Programming the Click() Event
We'll use the Click() event procedure to move the form around the screen. To do so, double-click a CommandButton to view the Code window. Then, enter that part of the code from Listing 6.2 that applies to that CommandButton. Note that you don't have to enter the first and last line, because Visual Basic already creates that part of the event procedure. (Again, you don't have to type the comments.) For example, you only have to add lines 8 and 12 to the cmdBottomLeft_Click() event procedure.

The Screen object
As you add the code for the Form_Load event procedure, notice a reference to an object called Screen. The Screen object refers to your monitor screen. For a detailed description of the Screen properties, read the online documentation that comes with Visual Basic.

LISTING 6.2 The Click() Event Procedures for the CommandButtons 01 Private Sub cmdBottomLeft_Click() 02 03 `Set the value of the form's TOP property 04 `to the bottom of the screen but bring 05 `it up the height of the screen so that the 06 `bottom of the form is on the bottom of 07 `the screen 08 frmMove.Top = Screen.Height - frmMove.Height 09 10 `Set the value of the form's LEFT property 11 `to the far left of the screen. 12 frmMove.Left = 0 13 14 End Sub 15 16 Private Sub cmdBottomRight_Click() 17 18 `Set the value for the form's TOP property to 19 `the bottom of the screen, but bring the TOP 20 `up the HEIGHT of the form so that the bottom 21 `of the form is on the bottom of the screen. 22 frmMove.Top = Screen.Height - frmMove.Height 23 24 `Set the value of the form's LEFT property to 25 `the right of the screen but bring it across 26 `the screen the width of the form so that the 27 `right side of the form is on the right 28 `side of the screen 29 frmMove.Left = Screen.Width - frmMove.Width 30 31 End Sub 32 33 Private Sub cmdTopLeft_Click() 34 35 `Set the value of the form's TOP property 36 `to the top of the screen. 37 frmMove.Top = 0 38 39 `Set the value of the form's LEFT property 40 `to the left of the screen. 41 frmMove.Left = 0 42 43 End Sub 44 45 Private Sub cmdTopRight_Click() 46 47 `Set the value of the form's TOP property 48 `to the top of the screen. 49 frmMove.Top = 0 50 51 `Set the value of the form's LEFT property to 52 `the right of the screen but bring it back across 53 `the screen the width of the form, so that the 54 `right side of the form is on the right 55 `side of the screen 56 frmMove.Left = Screen.Width - frmMove.Width 57 58 End Sub
Moving the form to the top or left of the screen is easy--set the Top or Left property of the form to zero. This always corresponds to the top or left of your monitor, respectively.
Lining up the form on the right side or bottom of the screen is a little harder because right and bottom properties don't exist. To place a form on the right side of the screen, you must set the Left property of the form to the Width property of the Screen object, minus the Width of the form (because the Width of the screen would be the right property of the screen, if the right property existed).
A similar technique is used to determine the bottom of the screen. If you were to set the form's Top property equal to the screen's Height property, you wouldn't see the form because it would be just below the bottom of the screen. To set the bottom of the form to the bottom of the screen, you subtract the value of the form's Height property from the value of the screen's Height property. This raises the form so that you can see it.
Adding Event Notification
To finish MoveIt, let's add some code that will tell when certain events occur for the form and the CommandButtons. When users press or release the mouse button over the form, the text in lblNotify will change to reflect the state of the button. Also, when users use the Tab key or the mouse button to move from one CommandButton to another (which changes the focus from one button to the next), the text in lblNotify will change. Doing this requires you to write code in three different event procedures: the MouseUp and MouseDown event procedures for the form and the GotFocus event procedure for each CommandButton.
Be careful when placing a form on the right side or bottom of the screen; otherwise, you might place it offscreen.
Enter the code from Listing 6.3 into the MouseUp and MouseDown event procedures for frmMain. (Remember that you don't have to enter the first and last lines.) To do this, open the Code window for the MouseDown event procedure by double-clicking the form and selecting MouseDown from the event procedures drop-down list .
LISTING 6.3 Code for Reporting When Users Click and Release the Mouse Button 01 Private Sub Form_MouseDown(Button As Integer, _ Shift As Integer, X As Single, Y As Single) 02 03 lblNotify.Caption = "MouseDown Event" 04 05 End Sub 06 07 Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) 08 09 lblNotify.Caption = "MouseUp Event" 10 11 End Sub
You can select an event procedure from the object's Code window.
When the program runs, if your mouse is over the form (not the CommandButtons or the label) and you click the mouse button, the text MouseDown Event appears in lblNotify. When you release your mouse button, the text MouseUp Event appears.
Last, add the code that will report which CommandButton has the focus. Enter the code from Listing 6.4 into the GotFocus event procedures for each CommandButton. Do this by double-clicking one of the CommandButtons and selecting the GotFocus event procedure (notice that Visual Basic selects the Click event by default). Repeat this procedure for each CommandButton.
LISTING 6.4 Code for Reporting Which CommandButton Has the Focus 01 Private Sub cmdBottomLeft_GotFocus() 02 03 lblNotify.Caption = "cmdBottomLeft has the Focus" 04 05 End Sub 06 07 Private Sub cmdBottomRight_GotFocus() 08 09 lblNotify.Caption = "cmdBottomRight has the Focus" 10 11 End Sub 12 13 Private Sub cmdTopLeft_GotFocus() 14 15 lblNotify.Caption = "cmdTopLeft has the Focus" 16 17 End Sub 18 19 Private Sub cmdTopRight_GotFocus() 20 21 lblNotify.Caption = "cmdTopRight has the Focus" 22 23 End Sub
That's it! Now you can run the program--just press the F5 key.
When you click a CommandButton, it automatically receives the focus. In MoveIt, the focus is reported in lblNotify.

Similar Documents

Premium Essay

Anything

...of the long-term effects of domestic violence are anxiety, chronic depression, chronic pain, panic attacks, sleep disorders, suicide attempts. Women of domestic violence are called battered; they suffer from physical and mental problems. Most women who are abused feel it is their fault. They believe they are to blame for the abuse, that they caused it, and that they can somehow stop it. They often experience anxiety, tension, low energy, insomnia, change in appetite and physical aches and pains such as headaches. These symptoms are not necessarily caused by physical injury. Often, women are abused feel ashamed of what’s happened. Shame often prevents them confiding in others and keeping their details of abuse away or not wanting to say anything to legal authorities and medical personnel. Women who are abused frequently experience difficulty in expressing anger related to their abuse. Some may turn...

Words: 435 - Pages: 2

Premium Essay

Anything

...Tuberculosis ---------- Tuberculosis (TB) is an infectious disease caused by a germ (bacterium) called Mycobacterium tuberculosis. This germ primarily affects the lungs and may infect anyone at any age. In the United States, the number of TB cases steadily decreased until 1986 when an increase was noted; TB has continued to rise since. Today, ten million individuals are infected in the U.S., as evidenced by positive skin tests, with approximately 26,000 new cases of active disease each year. The increase in TB cases is related to HIV/AIDS, homelessness, drug abuse and immigration of persons with active infections. How is TB Contracted? TB is a contagious or infectious disease that is spread from person-to- person. A person is usually infected by inhaling the germs which have been sprayed into the air by someone with the active disease who coughs. However, inhaling the germ does not usually mean you will develop active disease. A person's natural body defenses are usually able to control the infection so that it does not cause disease. In this case, the person would be infected, but not have active disease. Only about 10% of those infected will actually develop TB in their lifetimes. Active disease can occur in an infected person when the body's resistance is low or if there is a large or prolonged exposure to the germs that overcome the body's natural defenses. The body's response to active TB infection produces inflammation which can eventually damage the lungs. The amount...

Words: 1452 - Pages: 6

Premium Essay

Anything

...Opportunity High potential in attract investors. As we can see here the Telekom Malaysia introduce SME BizFest 2012 aims to provide a synergistic ICT showcase for Malaysian SMEs to increase product and services knowledge and awareness among the fraternity. TM doing this event to empower their businesses via knowledge sharing and by participating in the activities held. In addition, SME BizFest provides the platform for SMEs to interact among themselves and opens up business opportunities through business matching sessions organized during the two-day event. Other than that, from the report the SME BizFest 2012 series is expected to attract more than 500,000 participants from the SME business community in Malaysia who require ICT solutions to improve and enhance their business operations. This will open the opportunity to the TM to attract the investors from the outside country. Because, when many people are participated in these business products it will enhance business processes, increase productivity and business revenues are available at a very special rate throughout the duration of SME BizFest 2012. Growing Broadband Market “Our business segments continue to record strong growth in revenue and business generation especially in our Retail and Global Lines of Business. We will remain focused on expanding our UniFi coverage and capitalise on the strong take-up we are still experiencing to date. The emphasis on customer service and product differentiation is clearly helping...

Words: 808 - Pages: 4

Free Essay

Anything

...Mario Rosales Mrs. Kelley English 1 Pre-AP 3 1 October 2014 Not Everyone Gets Not every child in the world gets the education that they have desire. It’s hard to imagine not to have an education or perhaps the dream to at least learn how to read in their language. Just imagine one of this uneducated child listens to children with his desire say that they don’t like school it would probably get them frustrated because they are getting the education that they may never have in their miserable life. Education is important because every child doesn’t have the opportunity or get to finish it. Lets’ see the view of both of the children’s point of view rich and poor education. A rich child can have the opportunity to attend a privet school where he can get the necessary skills such as Science, English, Math, Social Studies, Writing and a foreign language. He can meet the right individuals to help him go through life. Then when he finishes High school he can choose one of the best privet universities in the USA to become a doctor, lawyer, scientist, business man or even become the president of the United States of America. If he chooses a good career he can get married with a beautiful person have kids, have a house and retire from his career and enjoy the government paying him for nothing. A poor child can’t go to school because their parents couldn’t afford it and is working all day for a low paying job to help his family. Then as the kid becomes older he can become...

Words: 498 - Pages: 2

Free Essay

Anything

...In details apparel manufacturing sequence are given below: Operation | Job | Method | | 01. Design/sketch | It is given by buyers to manufacturers containing sketches including measurements of the style | Manual/computerized    | | 02. Basic block | Without any allowance | Manual/computerized | | 03. Working pattern | Assimilating of diagram of net dimension on paper each and individual part which is called pattern and when we move with it throughout the  whole manufacturing processes. We term it working pattern. | Manual/computerized | | Manual/computerized | 04. Sample making | After getting all the speech the sample is made and sent to the buyers for approval to rectify the faults. | Manual | | 05. Basic manufacturing difference | The critical path is identified i.e the problem during the several operations. | Manual | | 06. Approved sample | After rectify the faults, sample is again sent to buyers. If it is ok, than it is called approved sample. | Manual | | O7. Costing | * Fabric required * Making charge * Trimmings * Profits | Manual | | 08. Production pattern | Add allowance with net dimension. | Manual/computerized | | 09. Grading | It is done according to different size. | Manual/computerized | | 10. Marker making | Maker is a thin paper which contains all the components of all sizes of a particular style. | Manual/computerized | | 11. Fabric spreading | Fabric is spreaded in lay form. | Manual/computerized | | 12. Cutting...

Words: 350 - Pages: 2

Premium Essay

Anything

...Abstract: The researchers aimed to develop a new product that will benefit the students like us. To this objective, our team comes up with the idea of creating glue based from milk. Glue has been an important material at home, at school and at office. Most of the commercially available glue is claiming to be non-toxic. However, we are still uncertain of this claim since they contain preservatives that may harm both the user and the environment Casein, a protein obtained from milk, has been long proven to play an important role in the production of glue. It can be obtained from milk by means of adding vinegar into the milk. The curd formed from the reaction is mixed with baking soda. The produced glue from milk may vary in consistency depending upon the amount of milk, vinegar, water and baking soda used. Other research conducted claims that glue made from milk casein is waterproof and can be used for bottle labeling and cigarette packaging .The product produced by our team is cheap and effective. Students can replicate our procedures to create their own milk glue. Chapter 1 Introduction The first evidence when glue used for the first time dates back in 4000 B.C., Archaeologists found foodstuff with deceased when they were studying burial sites of historical tribes in the pottery vessels, which were repaired by some sticky stuff of trees ap. They also found ivory eyeballs into eye sockets in Babylonian temples .In our modern time, glue may vary from industrial...

Words: 344 - Pages: 2

Premium Essay

Anything

...CHAPTER 2:Global E-Business: How Businesses Use Information Systems Business processes: Workflows of material, information, knowledge Sets of activities, steps May be tied to functional area or be cross-functional Businesses: Can be seen as collection of business processes,may be assets or liabilities *Examples of functional business processes Manufacturing and production >Assembling the product Sales and marketing >Identifying customers Finance and accounting >Creating financial statements Human resources >Hiring employees *Information technology enhances business processes in two main ways: Increasing efficiency of existing processes * Automating steps that were manual Enabling entirely new processes that are capable of transforming the businesses * Change flow of information * Replace sequential steps with parallel steps * Eliminate delays in decision making *Types of Business Information System Transaction processing systems * Perform and record daily routine transactions necessary to conduct business * Allow managers to monitor status of operations and relations with external environment * Serve operational levels Management information systems * Serve middle management * Provide reports on firm’s current performance, based on data from TPS * Provide answers to routine questions with predefined procedure for answering them * Typically have little analytic...

Words: 845 - Pages: 4

Premium Essay

Anything

...Jean Piaget’s Theory Christian problem solving behavior from 8 through 18 months Christian is doing just great. He is learning new things every day and showing remarkable motor skills. Developmentally he appears to be progressing well with many of the skills important for his age. He organizes his toys by color or size, has a good memory for the location of previously hidden objects when playing games with us, and is able to solve simple problems with little or no help. Emotionally he is happy and easy to deal with. The issue he had with relating more with his father has been solved and he seems almost equally comfortable with both of us. Christian still has some trouble with meeting new people, but the intensity of his reactions has eased, and he warms up more quickly. He gets along well with the people he is comfortable with, and interacts socially with them. Again, I'm not worried about this; I hope he always shows discretion. Physically he is very active and energetic. His interactions are very cooperative and team oriented when playing with others, with only occasional fits, usually when overly tired or hungry. Emotionally we haven't seen any directional changes. He is still even tempered and friendly, with the changes we're seeing being mostly the development and growth of the personality she developed originally. With regard to his personality, we are trying to tailor our rearing techniques to match what we believe to be the best "goodness of fit" for him. For example...

Words: 532 - Pages: 3

Free Essay

Anything

...[pic] School of Management Semester 1, Academic Session 2015/2016 Bachelor of Management COURSE OUTLINE ATW 395/3 – International Business Lecturer: Dr.Shankar Chelliah (DBA) Day/Time/Venue: Monday/9.00-10.50am/DK S email: shankarchelliah1@gmail.com Tel: 04 653 3426/012-4618731 Office: Level 2, Room 216, School of Management COURSE SYNOPSIS The course aims to introduce the core knowledge of international business as a core subject in the bachelor program. The students will be exposed to globalization, international business theories, government intervention in international business, emerging market, foreign market entry strategies and the existence of regional economic integration that affect international business. COURSE OBJECTIVES The objectives of the course are: 1. To enable students to understand the impact of globalisation and the key issues facing international businesses 2. To explain the environment in international business such as politics and law, emerging market and the regional economic integration 3. To make students appreciate the existence and use of fundamental international business theories and its evolution 4. To enable students to understand the various entry modes available to capture international market LEARNING OUTCOMES At the end of the course, students will be able to: 1. Acquire the pre-requisite knowledge of venturing a business at international level and describe the key concepts that driving globalization...

Words: 1855 - Pages: 8

Premium Essay

Anything

...Case study – New Pressures for Learning and Development in the Fork-Lift Truck Factory of Smarna Gora Holdings Question 1 The positive and negative pressures on learning and development in the fork-lift truck factory of Smarna Gora Holdings Positive Internal | Positive External | 1. In the fork-lift truck factory the commercial department has combined buying and selling to reduce head count and to simplify horizontal communication across the organization. 2. Storage has been moved from the technical department to the commercial department. 3. The number of employees has been reduced to 130 and the work is now more dominated by the commercial department rather than the emphasis being on production. | 1. As for industrial relations, the syndicate structure (trade union) was very strong in influencing how the organization was run and the system of management was strongly paternalistic, making additional assets available for the factory’s use so that employees could rent company houses and travel to company holiday sites. 2. The company is developing a global orientation and making strong use of previous trading relationships with countries such as Iran and India. | Negative Internal | Negative External | 1. There was no planning done at the organizational level and no emphasis on markets nor much on management. 2. There was no client orientation and no need to compete with European countries. 3. Organizational commitment was low, with lower-level employees...

Words: 473 - Pages: 2

Free Essay

Anything

...Tanda 100 hari sebelum sakaratulmaut. Ini adalah tanda pertama dari Allah SWT kepada hambanya dan hanya akan disedari oleh mereka yang dikehendakinya. Walaubagaimanapun semua orang Islam akan mendapat tanda ini cuma samada mereka sedar atau tidak sahaja. Tanda ini akan berlaku lazimnya selepas waktu Asar. Seluruh tubuh iaitu dari hujung rambut sehingga ke hujung kaki akan mengalami getaran atau seakan-akan mengigil. Contohnya seperti daging lembu yang baru saja disembelih dimana jika diperhatikan dengan teliti kita akan mendapati daging tersebut seakan-akan bergetar. Tanda ini rasanya lazat dan bagi mereka yang sedar dan berdetik di hati bahawa mungkin ini adalah tanda mati maka getaran ini akan berhenti dan hilang setelah kita sedar akan kehadiran tanda ini. Bagi mereka yang tidak diberi kesedaran atau mereka yang hanyut dengan kenikmatan tanpa memikirkan soal kematian, tanda ini akan lenyap begitu sahaja tanpa sebarang munafaat. Bagi yang sedar dengan kehadiran tanda ini maka ini adalah peluang terbaik untuk memunafaatkan masa yang ada untuk mempersiapkan diri dengan amalan dan urusan yang akan dibawa atau ditinggalkan sesudah mati. Tanda 40 hari sebelum hari mati Tanda ini juga akan berlaku sesudah waktu Asar. Bahagian pusat kita akan berdenyut- denyut. Pada ketika ini daun yang tertulis nama kita akan gugur dari pokok yang letaknya di atas Arash Allah SWT. Maka malaikat maut akan mengambil daun tersebut dan mula...

Words: 514 - Pages: 3

Free Essay

Anything

...CHAPTER 2 REVIEW OF RELATED LITERATURE AND STUDIES This chapter presents the pieces of literature and studies that were found relevant to the topic. An Integrated School Management System plays a great role in simplifying the task of employees at school and gratifying the needs of the customers and officials of the schools. There are different products from different companies that offered school management system to sustain the necessity and will handle jobs such as admission and marketing support, student information and enrollment system, student service management and student performance or the grading system. Foreign Literature Super Technologies Inc. is an innovative IT company which was established by Rehan Ahmed and Suzanne Bowen in Florida, USA. The company offered different software products for management services such as the school management system. According to the owner, a School Management System is a great on-line support that can help with the daily school management routines and also can save time and get a full control access with the school tasks. The main principle of the system is security – the security subsystem supports dividing users into several groups having its own set of rights for viewing and changing data. The systems’ highest reliability is based on transactions. Transactional system never allows data to be lost or corrupted because of accidents such as electricity failure and hardware malfunction and all the...

Words: 1790 - Pages: 8

Premium Essay

Anything

...Genesis 1:26-27- God made man in his likeness God gave dominion over every living thing on earth. Psalms 8:4-8 What is man that God cares about him? God made man a little lower than the angels God gave man dominion over the entire creature on earth Acts 17:27-29 Human live and move in God. We are God’s offering. God’ not an image of stone, gold or silver Ephisians2: vs. 10 We are God’s workmanship We are created in Christ Jesus to do good works which God prepared for us to do POINTS Jesus said remain in me and I will remain in you. You did not choose me I chose you. Jesus is the true vine. The human family Gen 22:20 -Nahar’s wife Mikah having children. - Abraham was Nahar’s brother Eph 3:15 -The whole family on earth derives its name from the father Acts 3:25 -We are the children/heirs is the prophets and of the covenant God made with Abraham, Isaac and Jacob. St. John 16 -Jesus told his disciple that he was going to go back to his father who sent him -He said unless he goes, the counselor will not come to them. -When the counselor comes, he will convict the world of guilt, sin and righteousness. -He will also guide you n all truth -The Holy Spirit will bring glory to Jesus by taking what belongs to him and making it known to his disciples. -God loves the disciples because they believed that Jesus came from God. -A time will come when Jesus’ disciples would desert...

Words: 271 - Pages: 2

Free Essay

Anything

...Figure 1: The Industrial Accident Statistics of Construction in Malaysia from 2008 to 2012 (Source: Department of Occupational Safety and Health, Malaysia, 2013) Table 1: Industrial Accident Statistics of Construction in Malaysia from 2008 to 2012 Year | Death | Permanent Disability | Non – Permanent Disability | 2008 | 72 | 2 | 55 | 2009 | 71 | 6 | 38 | 2010 | 66 | 4 | 50 | 2011 | 51 | 5 | 43 | 2012 | 67 | 12 | 40 | The chart above shows the industrial accident statistics of construction in Malaysia for the past five years, from 2008 to 2012. It can be divided into three categories, which are death, non – permanent disability and permanent disability. From the chart, in 2008, it gives the highest number of death, with 72 victims, whereas in 2011, it gives the lowest number of death, with 51 victims. In 2008 to 2011, the numbers of death are decreased, but it was suddenly increased in 2012. As we can see, the permanent disability gives the lowest number compare to the death and non-permanent disability. The highest and lowest numbers of the permanent disability are in 2008 and 2012, with 2 and 12 victims, respectively. For the first four years, which is from 2008 to 2011, is fluctuated dramatically, falling from 55 to 38 victims, before it increasing to 50 victims. However, in 2012, it decreased again by 40 victims. In our opinion, there are many causes for the accidents that occur in construction industry. This is because in the construction industry...

Words: 690 - Pages: 3

Free Essay

Anything

...Summation notation Summation notation is a convenient way to represent the sum of many terms. (It iis also called Sigma notation, since it uses the Greek letter Σ (Sigma)). If f is a function, then b f (k) = f (a) + f (a + 1) + f (a + 2) + . . . + f (b). k=a . Here are some examples: • • • • 5 k=1 k 3 = 13 + 23 + 33 + 43 + 53 = 225. = 1/1 + 1/2 + 1/3 + . . . + 1/100 ≈ 5.1873. = 1/1 + 1/2 + 1/3 + . . . + 1/n. 100 1 k=1 k n 1 t=1 t 15 x=1 2 = 2 + 2 + . . . + 2 = 15 · 2 = 30 15 times • 8 x=2 sin(π/x) = sin(π/2) + sin(π/3) + . . . + sin(π/8) ≈ 4.4885 Here are some handy rules for working with sums, where c is some constant: • • • n x=m cf (x) = c n x=m f (x). n x=m n x=m n x=m (f (x) n x=m (f (x) − g(x)) = + g(x)) = f (x) − f (x) + n x=m n x=m g(x). g(x). Here are some classical formulas that might come in handy: • • • • • n i=1 n i=1 n i=1 1 = n. c = cn. i= n(n+1) . 2 n(n+1)(2n+1) . 6 n(n+1) 2 2 n 2 i=1 i n 3 i=1 i = = . For details, see Appendix E in the text. Most of the second set of formulas can be proved using mathematical induction. 256 2π Calculator sums. It is often useful to use the calculator to find sums such as k=1 cos2 π + k 256 . This would be tedious to calculate by hand. The two commands to use are sum and seq, which on the TI-83, can be found in the LIST menu, under the OPS and MATH sub-menus, respectively. The command seq has the format: seq(expression,variable, lower, upper) This returns...

Words: 651 - Pages: 3