Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PopupMenu assumes screen coords #1200

Closed
fafalone opened this issue Sep 28, 2022 · 1 comment
Closed

PopupMenu assumes screen coords #1200

fafalone opened this issue Sep 28, 2022 · 1 comment

Comments

@fafalone
Copy link
Collaborator

Describe the bug
When you specify x,y for PopupMenu, it treats them as screen coordinates instead of client coordinates like VB6.

To Reproduce

  1. Create Menu1
  2. Add CommandButton
    Private Sub Command1_Click() Handles Command1.Click
        PopUpMenu Menu1, , Command1.Left, Command1.Top
    End Sub

Expected behavior
It should convert these to Form client coords like VB6.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • twinBASIC compiler version 0.15.130

Additional context
Add any other context about the problem here.

@WaynePhillipsEA
Copy link
Collaborator

Fixed in BETA 131, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants