Consultor Eletrônico



Kbase 16094: Dynamically adding menu-items to menus created in the UIB
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Dynamically adding menu-items to menus created in the UIB

Dynamically adding menu-items to menus created in the UIB

This kbase shows how to dynamically add a menu-item to a UIB
generated menu. The following code segment uses a button
trigger to add "Menu Test" to the sub-menu "test 1".
Define a variable as widget-handle to be that menu-item, in
this case m-test.

on choose of button-1
do:
create menu-item m-test
assign parent = sub-menu m_test_1:handle
label = "Menu Test".

end.


Progress Software Technical Support Note # 16094