AVAX-software.com Forums: Using Contextmenu control on Avax - AVAX-software.com Forums

Jump to content

Page 1 of 1

Using Contextmenu control on Avax

#1 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 14 May 2005 - 01:27 PM

Hi,
How could I use a Contextmenu control over avax control in my project?
Any help will be appreciated

#2 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 15 May 2005 - 06:05 PM

Hi,

Do you mean Pop-Up menu?
Athanasios Gardos
Avax-Software.com

#3 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 17 May 2005 - 10:33 AM

I meant I want to open a menu when the user right-clicks on the avax form so that I can enable him to choose between different option like 'Properties, add new shape' and etc. How would I do this?

#4 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 17 May 2005 - 12:13 PM

First you are making a menu in your form using VB menu designer and then you use VB function PopupMenu to call this menu, when the end user presses the right mouse button.
You can find many examples on how to make a popup menu in VB at:
planetsourcecode.
Go there and search for "popup menu" in "Visual Basic".
Athanasios Gardos
Avax-Software.com

#5 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 17 May 2005 - 03:54 PM

Well I'm using VB.NEt and it has a control called contextmenu. You can darg a control like a groupbox and assign that contextmenu by setting its contextmenu property to the created contextmenu. I wonder if i can assign a contextmenu to avax display screen so that when the end user uses right click of the mouse I can give him some options.

#6 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 22 May 2005 - 05:29 AM

Hi,

I would like to know by which development environment you are working tyo develop avax. Is it possible to consider a new property for it? a contextmenu property!

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users