![]() |
Menu Problem In Child Form |
Post Reply ![]() |
Author | |
faakher ![]() Groupie ![]() ![]() Joined: 26 June 2010 Location: Saudia Arabia Status: Offline Points: 24 |
![]() ![]() ![]() ![]() ![]() 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. 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 |
|
![]() |
|
Willowmaster ![]() Senior Member ![]() ![]() Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
faakher ![]() Groupie ![]() ![]() Joined: 26 June 2010 Location: Saudia Arabia Status: Offline Points: 24 |
![]() ![]() ![]() ![]() ![]() |
It's really strange that admins don't have time to help some one.
![]() |
|
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
gibra ![]() Senior Member ![]() Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |