🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: a.bsu.programming
Article #86765

Re: Need Help. Pop-up Menu

#86765
From: Les Ferguson
Date: Sun, 29 Mar 1998 00:00
22 lines
1999 bytes
Have a look at the help on the Form.PopupMenu method, I think there may be
examples someplace.

Basically you create a menu for the form, ie. mnuMyPopup & set its Visible
propery to false.  Create sub-menu items under that menu, but leave them set
to visible.

In the MouseDown event on a control you check which button has been pressed,
then call:
  Me.PopupMenu mnuMyPopup

Hope this helps
Les Ferguson
lhf@powerlink.co.nz

DragonEyes wrote in message <6e9eob$b7d@examiner.concentric.net>...
>Hi. I was hopeing some out her could help me. I'm programming a application
>in Visual Basic 5.0.
>
>I'm trying to create a "right-click pop-up menu"...
...
Technical Details
Message-ID: <311e210c.0@news.sinesurf.co.nz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6e9eob$b7d@examiner.concentric.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5380,99149d708201cc49,start
X-Google-Attributes: gidf5380,public
X-Google-Thread: 108062,99149d708201cc49,start
X-Google-Attributes: gid108062,public
X-Google-Thread: 10127e,99149d708201cc49,start
X-Google-Attributes: gid10127e,public
X-Google-Thread: 10b997,99149d708201cc49,start
X-Google-Attributes: gid10b997,public
X-Google-Thread: 107d8b,99149d708201cc49,start
X-Google-Attributes: gid107d8b,public
X-Google-Thread: f645d,99149d708201cc49,start
X-Google-Attributes: gidf645d,public
X-Google-Thread: 110e3b,99149d708201cc49,start
X-Google-Attributes: gid110e3b,public
X-Google-Thread: fb992,99149d708201cc49,start
X-Google-Attributes: gidfb992,public
From: "Les Ferguson" <nospam_lhf@powerlink.co.nz_nospam>
Subject: Re: Need Help. Pop-up Menu
Date: 1998/03/29
Message-ID: <311e210c.0@news.sinesurf.co.nz>
X-Deja-AN: 338787732
References: <6e9eob$b7d@examiner.concentric.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Internet Company of New Zealand
Newsgroups: a.bsu.programming,adass.iraf.programming,comp.lang.basic.visual,comp.lang.basic.visual.misc,comp.lang.visual.basic,cz.comp.lang.basic.visual,it.comp.lang.visual-basic,microsoft.public.es.vb,microsoft.public.vb.controls,microsoft.public.vb.winapi