Saturday, August 29, 2015

Oracle Form Visual Attribute Usages

In the name of Allah, Most Gracious, Most Merciful      
Praise be to Allah, blessing and peace be upon our prophet Mohammed, his family and his companions. After that,

The term “Graphical user interface” (GUI) is also known as Human-Computer Interaction (HCI). HCI cares about the details of maintaining the relation between a computer user and an application system. With respect to, how application users interact with the application system and to what extend application system are developed to facilitate the interaction process between a computer and a human being.

At the first glance, a well-designed GUI definitely influences on a customer's eye-appealing. Oracle form offers 'Visual Attribute' to predetermine your form visual interface. Visual attributes are the font characteristics 
. Font e.g. it's Size, Style, Width, Weight
 Color and pattern characteristics e.g. Foreground Color, Background Color, Fill Pattern, White on 

You can create "Visual attributes" either for a form module or a menu module in your 

system application.

"Visual attributes" can also control a meaningful or a logical notation in your application that the user has to consider.

e.g. Giving a large font for titles has to be set in a different font style or in a large font size than the one commonly used for a user inputs e.g. in a text box.

 The sense of choosing colors is also an important aspect that can help you giving  the user the impression that implies a meaningful sign that  directs him to input data in a proper manner during the use of your  application system.

e.g.Giving a red background can reflect the impression that this form item is mandatory and can't save his input data into the database without filling it up. 

ask Definition:T
  Create & use a visual attribute.

Task Solution

7 Steps To Highlight Current record:

1.     Select a visual attribute node.
2.      Click on the green (+) sign to create a new visual attribute
3.     Name a visual attribute it e.g. VA_CUR_RECORD
4.      Invoke the visual attribute's property palette & set a background color.
5.      Invoke the data block's property palette.
6.     Assign 'VA_CUR_RECORD' to Current Record visual attribute property.
7.     Compile, generate, save and run the form.

Let's assume we have created and set a visual attribute named 'VA_NAME'. Now, all we need is to recognize how we can use it.
Pls. follow and apply such useful code samples:

·        Set an item background color for all records:


·        Set an item background color for one record:


·        Set background color for the current cursor record:


·        Set an item prompt font to bold for all records:


·        Set an item prompt font to normal  for all records:


Working under stress more often leads to run-time errors, poor or an average level of (GUI), etc. On the other hand, paying more attention to the details of every step in system life cycle helps in delivering a successful working application with a friendly user interface. You can enjoy learning and applying such techniques to contribute in building a well-designed GUI.

Learn more about:

·        Create a Dynamic List Item

Hope this helps…

My success only comes from Allah, pls. note your comments and suggestions are great help for me in progress thanks in advance.