Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Get Recorditem Position in Report
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get Recorditem Position in Report

 Post Reply Post Reply
Author
Message Reverse Sort Order
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Topic: Get Recorditem Position in Report
    Posted: 01 November 2007 at 9:28am
I found the solution allready by myself.
 
Dim xL As Long, xT As Long, xR As Long, xb As Long
Dim xPoint As POINTAPI
Button.Row.GetItemRect Button.Item, xL, xT, xR, xb
xPoint.X = xL
xPoint.Y = xb
ClientToScreen repFilter.hWnd, xPoint
CmdBar.ShowPopup TPM_RETURNCMD, xPoint.X * Screen.TwipsPerPixelX, xPoint.Y * Screen.TwipsPerPixelY
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 29 October 2007 at 6:50pm
Hello,
 
if i add a DropDown- or Expand-Button to a column-object i want t show my own "dropdown"-Panel from CommandBar-Popup.
 
How can i get the right Screen-Position of the clicked Cell ?
 
The Editwindow is not visible, because it's not in editmode, so the hwnd of EditControl is empty.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.