Set - 7

Question 56 :

Diff. between VAT and Property Class?

Answer :

Named visual attributes define only font, color, and pattern attributes; property classes can contain these and any other properties.
You can change the appearance of objects at runtime by changing the named visual attribute programmatically; property class assignment cannot be changed programmatically. When an object is inheriting from both a property class and a named visual attribute, the named visual attribute settings take precedence, and any visual attribute properties in the class are ignored.


Question 57 :

Which trigger related to mouse?

Answer :

When-Mouse-Click
When-Mouse-DoubleClick
When-Mouse-Down
When-Mouse-Enter
When-Mouse-Leave
When-Mouse-Move
When-Mouse-Up


Question 58 :

What is Current record attribute property?

Answer :

Specifies the named visual attribute used when an item is part of the current record. Current Record Attribute is frequently used at the block level to display the current row in a multi-record If you define an item-level Current Record Attribute, you can display a pre-determined item in a special color when it is part of the current record, but you cannot dynamically highlight the current item, as the input focus changes.


Question 59 :

Can u change VAT at run time?

Answer :

Yes. You can programmatically change an object's named visual attribute setting to change the font, color, and pattern of the object at runtime.


Question 60 :

Can u set default font in forms?

Answer :

Yes. Change windows registry(regedit). Set form45_font to the desired font.
_break