Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Need for context menu


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2008, 02:10 PM
Junior Member
 
Join Date: May 2007
Posts: 36
Default Need for context menu

Hello, I would like to use the context menu in a table (Desktop), but wen I try it with the right button mouse, appears the context menu of windows (copy, paste, etc) instead of my own context menu.
Is there any way to avoid the windows context menu?

Is it possible use button left an right of the mouse as diferents buttons in desktop? For example, when I use "form1.mousedown" both buttons do de same.

Thank you very much in advance for your help.
Reply With Quote
  #2 (permalink)  
Old 03-05-2008, 02:22 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,334
Default

You can add a context menu. You should first add a reference to FormLib.
Reply With Quote
  #3 (permalink)  
Old 03-05-2008, 02:34 PM
Junior Member
 
Join Date: May 2007
Posts: 36
Default

Oh, I've tried this, but the thing is if you select a cell with "table.SelectionChanged" appears the windows context menu instead my own.
I try to select a cell in order of put in it a text from the context menu, because I'm afraid is not possible edit the cell itself.

this is the sentence in my application: FormLib1.New1("table1",B4PObject(1))
Reply With Quote
  #4 (permalink)  
Old 03-05-2008, 02:48 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,334
Default

I now see this problem. It will not be possible to use a context menu with a Table control on the desktop.

It is possible to distinguish between the buttons using dzEventsMagic library.
Reply With Quote
  #5 (permalink)  
Old 03-05-2008, 02:55 PM
Junior Member
 
Join Date: May 2007
Posts: 36
Wink

Thanks very much for your help!

It would very nice the possibility of edit the cells in a table for the future...
Reply With Quote
  #6 (permalink)  
Old 03-05-2008, 03:06 PM
Junior Member
 
Join Date: Apr 2007
Location: Cornwall UK
Posts: 26
Send a message via Skype™ to davelew1s
Default

Hi!
I've had this problem if you select the cell you want then move the curser to any other cell and right click your context menu appears.
Dave.
Reply With Quote
  #7 (permalink)  
Old 03-05-2008, 03:33 PM
Junior Member
 
Join Date: May 2007
Posts: 36
Smile

Thank for your help, that trick works fine!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
new context menu Event Cableguy Basic4ppc Wishlist 1 11-12-2008 01:09 AM
Context Menu and Tree View. RandomCoder Questions & Help Needed 4 02-18-2008 05:35 PM
Context Menu name change klaus Questions & Help Needed 2 12-26-2007 01:18 PM
Context Menu X,Y coordinates evaklim Questions & Help Needed 1 10-16-2007 02:04 PM
Controls and Context menu magi6162 Questions & Help Needed 1 09-10-2007 09:56 AM


All times are GMT. The time now is 12:57 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0