 |
How is a
DropDown Menu different from a Popup Menu? |
 |
- DropDown menu needs to be assigned to a window, where as
a Popup menu need not be assigned to a window, moreover you need to invoke the popup menu
from script.
- The nature of a popup menu is dynamic and context
sensitive. Mostly the contents of this menu is static.
|
 |
What is the
difference between an Accelerator key and a Shortcut key? |
 |
Accelerator
key allows activation of the menu option without using a mouse. The purpose of the
shortcut key is same as an accelerator key. You can activate a menu item with a shortcut
key in a single step, where as an accelerator key needs two steps. You can define any key
as a shortcut key, where as an Accelerator key works only with the combination of an 'Alt'
key. |
 |
What is the
max. length of a menu item name ? |
 |
40 |
 |
What are the
max. no. of characters you can display for a menu item? |
 |
64 |
 |
What are the
different types of menus available in PowerBuilder? |
 |
DropDown
Menu, Cascading Menu and Popup Menu. |
 |
How many
icons can you assign to a menu item? |
 |
Two icons.
One for the normal display and another when the icon is down. |
 |
What is the
default toolbar icon display order? |
 |
Starts from
the left most menu bar item, from top most menu item to the bottom most menu item and
shifts towards right of each menu bar item. |
 |
How many
levels of cascading menus can be defined? |
 |
There are no
limitation on the levels that can be defined. Good applications won't have more than three
levels. |
 |
Can you show
an ampersand (&) on a PowerBuilder menu item? If so, how? |
 |
Yes. You
need to use double ampersands to display a single ampersand sign on a PowerBuilder menu
item. |
 |
Can multiple
menu items display same text? |
 |
Yes. By
default, when you assign the same text PowerBuilder prompts you about the duplication and
suggests a name to resolve it. You can either accept that name or assign a different name.
|
 |
I have got
an excellent icon file (.ICO) and want to display it on the PowerBuilder menu toolbar.
What should I do? |
 |
Well, you
can't assign a .ICO file to a toolbar.You need to either convert it into a bitmap (.BMP)
file or create a brand new bitmap file. |