Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Resizer AutoSize and CommandBar context menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resizer AutoSize and CommandBar context menu

 Post Reply Post Reply
Author
Message
ssarabando View Drop Down
Newbie
Newbie


Joined: 09 November 2007
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote ssarabando Quote  Post ReplyReply Direct Link To This Post Topic: Resizer AutoSize and CommandBar context menu
    Posted: 09 November 2007 at 3:15pm
Hi all,
 
I've stumbled across the following 'odd' (IMO) behaviour.
I've put a Resizer, a ReportControl (inside the Resizer) and a CommandBar inside a VB6 form.
The resizer has AutoSize = True so that it will automatically fill its container (the form).
The command bar has an action and a context menu with the referred action.
The report control is supposed to handle the MouseDown event in order to show the context menu (ShowPopUp) when the right mouse button is pressed.
The problem is that is doesn't. The event handler doesn't even fire.
 
I've managed to track the problem to the Resizer.AutoSize = True.
If I use the AutoSize, the MouseDown event handler never fires; if I don't use the AutoSize property, then the MouseDown event handler fires as it is supposed to.
 
To bypass this, I've had to programmatically resize the Resizer inside Form_Load. But this isn't the way I would 'like' it to be.
 
Any thoughts? Is it my blunder, an undocumented problem/feature or a bug?
 
Regards,
 
SS
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 12 November 2007 at 1:35am
Hi,
 
Yes, Resizer and CommandBars have conflict. Please set property to False and manually set its position in CommandBars_Resize event.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.109 seconds.