Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Menu Problem In Child Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Menu Problem In Child Form

 Post Reply Post Reply
Author
Message
faakher View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2010
Location: Saudia Arabia
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote faakher Quote  Post ReplyReply Direct Link To This Post Topic: Menu Problem In Child Form
    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
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post 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



Back to Top
faakher View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2010
Location: Saudia Arabia
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote faakher Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.