Author Topic: Size of screen is too big....  (Read 2883 times)

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Size of screen is too big....
« on: September 03, 2014, 02:37:10 PM »
How do you get the screen size back to an original size? I will be putting this on a 720p 34" screen, I changed its resolution to  1280x720 and there is a bunch of screes to the left of the original project, and Im getting exeptions.

I can send project to verify

Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Size of screen is too big....
« Reply #1 on: September 03, 2014, 02:45:09 PM »
Are you trying to change the size of your forms within Visual Studio?

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #2 on: September 03, 2014, 02:47:32 PM »
I changed the main form size, now I have alot of space on the left and its undocked, meaning there are two sets of arrows to pan around the screen now, I dont know what I did, please help!!

Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Size of screen is too big....
« Reply #3 on: September 03, 2014, 03:09:08 PM »
It sounds like all of your controls may have moved to the right.

Open your main form in the designer
Go to Edit->Select All
Then point to any oontrol and try to drag it to the left and up

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #4 on: September 03, 2014, 03:17:01 PM »
Dont think so, the graphics are all the right size, but the black back ground is much larger and seems to keep growing everytime I save it

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #5 on: September 03, 2014, 03:25:52 PM »
The window is the right size but I can scroll much futher than the window size. Maybe it was always like this but I dont think so

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Size of screen is too big....
« Reply #6 on: September 03, 2014, 03:56:16 PM »
If you click in an unused area of the form, what does the size show in the properties window? Is the resolution of your development computer higher than the size you are trying to make the form?

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #7 on: September 03, 2014, 04:03:16 PM »
Shows 1920x1080, same resolution for the monitor Im using to build this.

When I run it, it still shows much more black if I scroll side to side or up and down, but my project fits on the screen and fills it like it should, its about 25% of the large black area.


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Size of screen is too big....
« Reply #8 on: September 03, 2014, 04:07:54 PM »
Does your form have a border? If so, you will need to reduce the form size to compensate for the border.

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #9 on: September 03, 2014, 04:13:47 PM »
I didnt add a border, all I did is used the background that comes with the example in AHMI. The Main Form is set at 1920X1080

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #10 on: September 03, 2014, 04:16:21 PM »
If it helps the MainForm page outer window border is gold, dont remember if it was always like that

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #11 on: September 03, 2014, 04:31:35 PM »
Whatever this is it keeps on growing everytime I save

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Size of screen is too big....
« Reply #12 on: September 03, 2014, 04:40:33 PM »
The original main form did have a border, but I was wrong in that thought anyway. it's when you remove the border it shrinks the form.

The only time I saw this kind of behavior was when someone was developing a 1920x1080 mainform on a laptop that had a lower resolution. Visual Studio had a real problem with it.

trimixdiver1

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Size of screen is too big....
« Reply #13 on: September 04, 2014, 01:57:54 PM »
Thanks for the reply

I was able to use an older copy and redo some graphics and got it back

By the way, how do you save a page to a picture file?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Size of screen is too big....
« Reply #14 on: September 04, 2014, 02:33:46 PM »
Are you wanting to do a screen shot of a running form and save it to a file?