Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

POPUP MENU

Status
Not open for further replies.

karnan

Programmer
Jul 28, 2001
3
SA
Hi,
I am a biginner in foxpro programming,i need your help. i made a popup menu when i select an option from the popup menu the popup will not disappear it resides under the calling interface. how can i disappear the popup menu please help me.
 
Hi,

Use program structure:

ln_bar = 1
DO WHILE .T.
DEFINE POPUP a1 ....
DEFINE BAR OF a1 ....
...
ON SELECTION POPUP a1 DEACTIVATE POPUP a1
ACTIVATE POPUP a1 BAR ln_bar
ln_bar = BAR()
RELEASE POPUP a1
DO CASE
CASE ln_bar = 1
DO program1
CASE ln_bar = 2
Do program2
.....
OTHERWISE
EXIT
ENDCASE
ENDDO

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top