alterar menu (Resolvido)

alterar menu (Resolvido)

Postby roberio » Fri Sep 23, 2011 7:36 pm

ola grupo

como alterar o menu em tempo de execução (runtime)

vlw
Last edited by roberio on Fri Sep 23, 2011 8:42 pm, edited 1 time in total.
FWHX 11.11 # xHarbour 1.2.1 Rev.9411 ## Borland C++ 5.8.2
User avatar
roberio
 
Posts: 27
Joined: Fri Jul 22, 2011 4:04 am

Re: alterar menu (resolvido)

Postby roberio » Fri Sep 23, 2011 8:41 pm

Function AtualizaMenu(oWndp)
oWndp:setmenu(MenuPrincipal())
oWndp:Refresh()
Return nil

com setmenu chamei a mesma funcao(menu) que fica na janela principal e deu ok


DEFINE WINDOW oWndp TITLE "teste" MENU MenuPrincipal()
FWHX 11.11 # xHarbour 1.2.1 Rev.9411 ## Borland C++ 5.8.2
User avatar
roberio
 
Posts: 27
Joined: Fri Jul 22, 2011 4:04 am


Return to All products support

Who is online

Users browsing this forum: No registered users and 4 guests

cron