Header Ads Widget

Responsive Advertisement

Module 10: Creating Noninput Items

 

Creating Noninput Items


1.A user has requested a change to the Summit.fmb module. The form has two windows, DEPT_WIN and EMP_WIN.

DEPT_WIN is always visible to the user. However, EMP_WIN is only occasionally required to be open. The user complains that once EMP_WIN is open, it is not possible to make the window invisible. The user can navigate between the open windows. You are asked NOT to write code to close EMP_WIN explicitly. 

What changes should you make to the Summit form?

A. Define EMP_WIN as a modal window and set the Hide and Exit property to No. 

B. Define EMP_WIN as a modal window and set the Hide and Exit property to Yes. 

C. Define EMP_WIN as a modal window and set the Close Allowed property to Yes. 

D. Define EMP_WIN as a modeless window and set the Hide and Exit property to No. 

E. Define EMP_WIN as a modeless window and set the Hide and Exit property to Yes. 

F. Define EMP_WIN as a modeless window and set the Close Allowed property to Yes. 

Answer: E

02. The Warehouse.fmb module contains two data blocks. You want to display items from each data block on separate content canvases. You must ensure that both content canvases are visible together at run time. 

Which two statements about content canvases are correct? (Choose two) 

A. Only one content canvas can be displayed in a window during a run time session. 

B. A content canvas can be associated with a window by setting the Windows property of the canvas. 

C. Two or more content canvases can be displayed by associating each of them with a different window. 

D. A content canvas can be associated with a window by setting the Primary Canvas property of the window. 

E. A content canvas can be associated with two or more windows by setting the Primary Canvas property of the windows. 

F. Two or more content canvases can be displayed by setting their viewpoints to be smaller than the window with which they are to be associated.

Answer: B,C

03. The Department.fmb module contains the DEPT data block. You wish to display DEPT items at run time. 

Which two are valid considerations that affect your design? (Choose two) 

A. A DEPT item can be associated directly with a window. 

B. A DEPT item cannot be associated directly with a window. 

C. A DEPT item can be assigned to a content canvas by setting the item Canvas property. 

D. A DEPT item can be assigned to a canvas by setting the Data Block Scroll Bar Canvas property. 

E. A DEPT item is automatically assigned to the null_canvas.

It can be assigned to a window by setting the item Rendered property. 

E. A DEPT item is automatically assigned to the null_canvas. It can be assigned to a window by setting the item Synchronize with item property. 

Answer: B,C

04. The LINE data block is defined in the Order.fmb module. LINE items are displayed in the default window at run time. In a second window, called BUTTONS, you display a set of icon buttons. At run time, the user must be able to freely navigate between the two windows. 

Which statement identifies the types of windows to define?

A. Both windows must be defined as dialog and modal. 

B. Both windows must be defined as document and modal. 

C. Both windows must be defined as document and modeless. 

D. The default window must be defined as modeless and the BUTTONS window must be modal. 

E. The default window must be defined as modal and the BUTTONS window must be modeless. 

Answer: C

05. The Products.fmb module has one content canvas, which displays information about products sold by your company. You want to increase the canvas display area by creating an overlay canvas to enable images of selected products to be displayed on request. 

How can you size the display area of the overlay canvas?

A. Define the display area for a stacked canvas by using the built-in procedure SET_CANVAS_PROPERTY. 

B. Define the display area for a stacked canvas by using the built-in procedure SET_WINDOW_PROPERTY. 

C. Define the display area for a content canvas by using the built-in procedure SET_CANVAS_PROPERTY.

D. Define the display area for a content canvas by using the built-in procedure SET_VIEW_PROPERTY. 

E. Define the display area for a stacked canvas by using the built-in procedure SET_VIEW_PROPERTY. 

Answer: E

07. The Orders.fmb module contains two content canvases, both associated with the default window. Items from the DEPT data block are associated with the DEPTCAN canvas. Items from the EMP data block are associated with the EMPCAN canvas. The user wants to view DEPT and EMP data at the same time. 

What changes would you make to the Orders form?

A. Redefine the EPMCAN canvas as a tab canvas because it is not possible to display multiple content canvases in a single Forms module. 

B. Create a new WINDOW object called DEPTWIN. 

To associate the DEPTCAN canvas with the DEPTWIN window, set the DEPTCAN Window property to DEPTWIN.

C. Redefine the EMPCAN canvas as a stacked canvas because it is not possible to display multiple content canvases in a single Forms module. 

D. Create a new WINDOW object called DEPTWIN. 

To associate the DEPTWIN window with the DEPTCAN canvas, set the DEPTWIN Primary Canvas property to DEPTCAN. 

E. Create a separate Forms module for the EMPCAN canvas and EMP data block, because it is not possible to display multiple content canvases in a single Forms module. 

Answer: B

08.Exhibit: 

Examine the Property Palettes of the BONNY canvas and the CLYDE window. Two items, both 50 points wide by 15 points high, are associated with the canvas. The first item is a text item, the X Position property is 30, and the Y Position property is 40. The second item is a display item; the X Position property is 150, and the Y Position property is 250 

Which two actions allow the user to view the display item at run time? (Choose two) 

A. At run time, navigate to the text item and press the Tab key. 

B. Define CLYDE as a modal window and display it with a horizontal scroll bar. 

C. Define CLYDE as a modeless window and display it with a horizontal scroll bar. 

D. Define CLYDE as a dialog window and display it with a horizontal scroll bar. 

E. Define CLYDE as a document window and display it with a vertical scroll bar. 

F. Define CLYDE as a modeless window and display it with a vertical scroll bar. 

Answer: E,F

09. Exhibit: 

View the Exhibit and examine the Property Palettes of the BONNY canvas and the CLYDE window. The requirements of the application specify that the CLYDE window should not be resizable. The form contains two items, both 50 points wide by 15 points high, which are associated with the canvas The first item is a text item; the X Position property is 30, and the Y Position property is 40. The second item is a display item; the X Position property is 150, and the Y Position property is 250. 

What are two ways to allow the user to view the display item at run time? (Choose two.) 

A. At run time, with the cursor in the text item, press the Tab key 

B. Define CLYDE as a modal window and display it with a horizontal scroll bar 

C. Define CLYDE as a modeless window and display it with a horizontal scroll bar 

D. Define CLYDE as a dialog window and display it with a horizontal scroll bar 

E. Define CLYDE as a document window and display it with a vertical scroll bar 

F. Define CLYDE as a modeless window and display it with a vertical scroll bar 

Answer: E, F

10. Which statements are true for Content Canvas-Views? (Choose two)

A. A content canvas-view is always created implicitly.

B. A content canvas-view always completely fills its window.

C. A content canvas view sits on top of a stacked canvas-view.

D. If a content canvas-view is too big, the window needs to be resized.

E. There must be at least one content canvas-view for each window in an application.

Answer: B, E

11. You have created two separate data blocks on two Content canvases. Users complain that when they navigate to block two, they can no longer see the block one data.

How could you enable them to see both canvases at once?

A. Create a new window and assign one of the canvases to it.

B. Set the canvas property Raise on Entry to No for both canvases.

C. Set the viewpoint size large enough so that both canvases can be seen.

D. Put a scroll bar on the window so that users can scroll back and forth between the canvases.

Answer: C

12.How can you display both the CV_SALARY and CV_EMP content canvases at the same time in the same window?

A. Assign both content canvasses to the same window.

B. Assign each of the content canvasses to separate modeless windows.

C. You must display both canvases through the same window.

D. You cannot display two content canvases at the same time.

Answer: D

13. Which statement is true?

A. A window can have only one content canvas.

B. A window must have at least one content canvas.

C. A content canvas can be assigned to multiple windows.

D. A form can contain multiple windows, but only one content canvas.

Answer: B

Post a Comment

0 Comments