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 derfloh 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
Joined
Jul 28, 2001
Messages
3
Location
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