473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Context menu and Mod Hierarchical flex grid problem

Hi
Can anybody help me ?
I try to show popup menu when the right mouse button is clicked on
ModHfGrid.
I see the popup menu but when I click any option the click event of
menuitem is not fired.
I try with button (not ModHfGrid) and everything is ok.

grid is as ModHFGrid control
Private Sub grid_MouseDownEvent(ByVal sender As Object, ByVal e As
FGridLib.DModHFGridEvents_MouseDownEvent) Handles grid.MouseDownEvent
Dim punkt As System.Drawing.Point
punkt.X = e.x
punkt.Y = e.y
If e.button = 2 Then
mnu_popup.Show(Me.grid, punkt)
End If
End Sub
Private Sub del_operacja_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles del_operacja.Click
Dim lng_row As Long
Dim lng_col As Long
lng_row = Me.grid.MouseRow
lng_col = Me.grid.MouseCol
...................
End Sub
Nov 20 '05 #1
0 1641

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: MP Multimedia | last post by:
Hello everyone, I need help. I'm using a hierarchical menu made in javascript. When I used it in a one frame page, it came out fine. But now I need to change my page to 3 frames: a top frame,...
6
by: Brian Holbrook | last post by:
I am new to VB .Net. Is there anything close to what a flex grid was in VB 6.0? By this I mean being able to manipulate and add text data that is not in a database. I would be taking data from...
1
by: Frank Oquendo | last post by:
My DataGrid has a ContextMenu assigned to it. If I right-click the current cell, I get the standard Windows context menu (Cut, Copy, Paste, etc.). If I right-click anywhere else, I get my context...
2
by: Qumer Mumtaz | last post by:
H How to us MS Flex Grid in C#.I mean how to add columns and rows at run time and how to assign values to the columns and rows ? Any help in this regard will be appriciated Plz reply sooon............
5
by: Brett Romero | last post by:
I have a simple test app with one form, one datagridview, and a contextmenustrip. I've assigned the menustrip to the datagridview and given the grid one column. There isn't any data in the grid. ...
1
by: Stroumfs | last post by:
Hi! Can anyone tell me how can i print a flex grid? I created a button print below the flex grid.What code should i write in order to print? and how can i can i change the colour and the font of...
10
by: Jules Winfield | last post by:
Guys, I've been designing applications for the financial services industry using MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms). All applications are Internet-based,...
1
by: charvi | last post by:
hi now i want to add all the names from table to combo column in flex grid.whr is the syntax now my flex grid column 3 acta as combo box how can i code pls help
1
by: Griff | last post by:
In Visual Studio, if you hover over an item, the IDE open up a context menu with an expandable sign. Clicking on this then brings up a context menu that appears as a grid. Clicking on sub items...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.