You could achieve this effect using shortcut menus that are popped-up on = the click event of the button.
Add the property cPopupName to the button class
The button class click event could be:
Do PopupMenu with this, thisform
The popup menu could do something like (off the top of my head)
lParameters toButton, toForm
* get the location for the popup Local lnX, lnY lnX =3D toform.left + toButton.Left + toButton.width lnY =3D toForm.Top + toButton.top
* pop up the menu at the row/column position defined above
This has give me an idea for a neat class. I'll get back to you shortly.
Andrew Coates Civil Solutions Tel +61 2 9344 4993 (GMT+10) Fax + 61 2 9345 0893 www.civilsolutions.com.au=20 ---- OzFox 2003 - Australian VFP Conference - www.ozfox.com.au The Fox Community Portal - www.foxcentral.net Great VFP Books - www.civilsolutions.com.au/hwbooks/
> -----Original Message----- > From: William Sanders [mailto:wsanders (AT) efgroup .D.OT net]=20 > Sent: Fri, 13 Jun 2003 13:19 > To: ProFox Email List > Subject: Re: A different kind of menu >=20 >=20 > Alfred - this is not a menu ? > perhaps you are talking about a vertical page frame tab=20 > [feature with vfp 8] or a collection of buttons in a form ??? >=20 > mondo regards [Bill] > ----- Original Message ----- > From: "Alfredo Miro" <miro_99@hotmail.com> > To: <profox (AT) leafe .D.OT com> > Sent: Thursday, June 12, 2003 4:56 PM > Subject: Re: A different kind of menu >=20 >=20 > > > > Maybe I'm a little slow today, could you explain that again? > > > > BTW > > > > I need this menu to exist inside of a form. > > > > > > > > > > > > > > > > > > > > > > > > > > > > >From: "Bob Lee" > > > > > > >Reply-To: ProFox Email List > > > > > > >To: > > > > > > >Subject: Re: A different kind of menu > > > > >Date: Thu, 12 Jun 2003 16:43:19 -0400 > > > > > > > > > >Two forms in the vfp application, > > > > >1 on the left, with buttons, which launch a second one on=20 > the right=20 > > >(also > > > > >inside the application) which changes, > > > > >duplicates a web type application quite well. > > > > > > > > > >this is a sample of how it can work. > > > > > > > > > >http://www.1amsoftware.com/projedit.jpg > > > > > > > > > >Bob Lee > > > > > > > > > >----- Original Message ----- > > > > >From: "Alfredo Miro" > > > > > > >To: > > > > > > >Sent: Thursday, June 12, 2003 4:07 PM > > > > >Subject: A different kind of menu > > > > > > > > > > > > > > > > Im currently looking to implement a menu that runs on the left=20 > > > > side of > my > > > > >form. > > > > > > > > > > > > When clicked the menu items would slide out to the right. Has=20 > > > > anyone > > > > >tried this or have any suggestions as to how this could/should be=20 > > >done? > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------ > > > > > > MSN 8 helps > > > > > > ------------------------------------------ > > > > > > ELIMINATE E-MAIL VIRUSES. > > > > > > ------------------------------------------ > > > > > > Get 2 months FREE*. > > > > > > ------------------------------------------ > > > > > > > > > > > > > > > > > > --- StripMime Report -- processed MIME parts --- > > > > > > text/html (html body -- converted) > > > > > > --- > > > > > > > > [excessive quoting removed by server]
©2003 Andrew Coates |