Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
8961 | Nov 30,2003 01:14 PM UTC | Dec 4,2003 09:17 AM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
Protected Overrides Sub OnClick(ByVal rowIndex As Integer, ByVal colIndex As Integer, ByVal e As System.Windows.Forms.MouseEventArgs) MyBase.OnClick(rowIndex, colIndex, e) Dim userCtl As CALDatePicker = Me.Control Dim pt As Point = userCtl.PointToClient(Control.MousePosition) Dim rect As Rectangle = userCtl.btnImage.Bounds rect = New Rectangle(rect.Left - 20, rect.Y, rect.Width + 20, rect.Height) If rect.Contains(pt) Then userCtl.PopupControlContainer1.Focus() userCtl.PopupControlContainer1.ShowPopup(Point.Empty) End If End Sub
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.