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

PictureBox.Scale isn't working #1666

Closed
sunsetandlabrea opened this issue Aug 24, 2023 · 2 comments
Closed

PictureBox.Scale isn't working #1666

sunsetandlabrea opened this issue Aug 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sunsetandlabrea
Copy link

sunsetandlabrea commented Aug 24, 2023

Scaling in a PictureBox doesn't work. ScaleHeight and Width appear to be correct when viewed, but the drawing is correct.

In VB6 this code creates a diagonal line from the top left to bottom right.

Picture1.ForeColor = vbBlack
Picture1.Scale (50, 50)-(100, 100)
Picture1.Line (50, 50)-(100, 100)

Setting the ScaleLeft, Width, Top, and Height independently works.

In TwinBasic:

image

In VB6:

image

Desktop (please complete the following information):

  • OS: Window 11
  • twinBASIC beta 382

Thanks!

@fafalone
Copy link
Collaborator

Confirmed here on direct import from VB6, dpi aware=none, picturedpiscaling->False, no effect.

@fafalone fafalone added the bug Something isn't working label Aug 24, 2023
@WaynePhillipsEA
Copy link
Collaborator

WaynePhillipsEA commented Sep 3, 2023

Fixed in BETA 385. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants