Friday, 23 November 2012

D2K question1

1. What is ALERT?

            An ALERT is a modal window that displays a message notifiying operator of some application condition.

2. Can a button have icon and lable at the same time ?

            NO

3. What is mouse navigate property of button?

            When Mouse Navigate is True (the default), Oracle Forms performs standard navigation to move the focus to the item when the operator activates the item with the mouse. When Mouse Navigate is set to False, Oracle Forms does not perform navigation (and the resulting validation) to move to the item when an operator activates the item with the mouse.

4. What is FORMS_MDI_WINDOW?

            Forms run inside the MDI application window. This property is useful for calling a form from another one.

5. What are timers? When when-timer-expired does not fire?

            The When-Timer-Expired trigger can not fire during trigger, navigation, or transaction processing.

6. Can object group have a block?

            Yes, object group can have block as well as program units.

7. How many types of canvases are there?

            There are 2 types of canvases called as Content and Stack Canvas. Content canvas is the default and the one that is used mostly for giving the base effect. It’s like a plate on which we add items and stacked canvas is used for giving 3 dimensional effects.

8. What are user-exits?
             It invokes 3GL programs.

9. Can you pass values to-and-fro from foreign function? How?
             Yes. You obtain a return value from a foreign function by assigning the return value to an Oracle Forms variable or item. Make sure that the Oracle Forms variable or item is the same data type as the return value from the foreign function. After assigning an Oracle Forms variable or item value to a PL/SQL variable, pass the PL/SQL variable as a parameter value in the PL/SQL interface of the foreign function.  The PL/SQL variable that is passed as a parameter must be a valid PL/SQL data type; it must also be the appropriate parameter type as defined in the PL/SQL interface. 

10. What is IAPXTB structure?
             The entries of Pro * C and user exits and the form which simulate the proc or user_exit are stored in IAPXTB table in d/b.

11. Can you call WIN-SDK thruo' user exits?
             YES.

12. Does a user exit support DLL on MSWINDOWS?
             YES.

13. What is path setting for DLL?
             Make sure you include the name of the DLL in the FORMS45_USEREXIT variable of the ORACLE.INI file, or rename the DLL to F45XTB.DLL.  If you rename the DLL to F45XTB.DLL, replace the existing F45XTB.DLL in the \ORAWIN\BIN directory with the new F45XTB.DLL.