Print Page | Close Window

Menu Problem In Child Form

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=19319
Printed Date: 07 July 2024 at 2:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Menu Problem In Child Form
Posted By: faakher
Subject: Menu Problem In Child Form
Date Posted: 16 December 2011 at 3:10pm
Hi,
I'm developing an application which is based on MDI/Child.
I'm having some problem with menu.

menu

This is a snapshot of my child form. As you can see when I click View Details button, menu does not show below the button.

I'm using following line (in vb6) to show popup menu:
PopupMenu mnuView, , cmdView.Left, (cmdView.Top + cmdView.Height)

I created the menu with VB's menu editor.
Please tell me how can I align menu (to left and bottom side) with push button.
Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2
Language: Visual Basic 6.0 SP6



Replies:
Posted By: Willowmaster
Date Posted: 19 December 2011 at 4:18am
You have to include the Left and Top property of de child form too I think. Like this:
PopupMenu mnuView,, cmdView.Left + Me.Left, (cmdView.Top + cmdView.Height + Me.Top)


-------------
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0





Posted By: faakher
Date Posted: 19 December 2011 at 5:55am
It's really strange that admins don't have time to help some one. Angry

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2
Language: Visual Basic 6.0 SP6


Posted By: gibra
Date Posted: 20 December 2011 at 1:43pm
See the Controls project sample (Button tab)
Select the xtpButtonDropDown button style...
 
 


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net