When Zoom In Or Out The Screen Size Changes As Well?

Nov 9, 2009

A couple of days ago I created a Zoom function for my application to make the fontsize bigger or smaller. I thought it worked perfectly untill last friday....Problem is, when I zoom in or out, the screen size changes as well. This is no problem when running the app in window mode. But when it's in fullscreen mode this happens:

Normal:
Zoom in:
Zoom out:
vb
Private Sub Zoom(ByVal direction As String) Dim newFontSize As Single Select Case direction Case "In", "in" :

[code]....

View 2 Replies


ADVERTISEMENT

Zoom In/zoom Out Screen Display/output?

Apr 4, 2009

How can I zoom in/zoom out screen display? This is to be used for people having eyesight problem. I want to control the screen resolution by percent and not to any fixed size provided in control panel/display settings.I have to control the output of the main display and zoom in/zoom out by percent, according to user's eyesight matching

View 3 Replies

Make The Form Size Automatic Setting The Size Equals To The Screen?

Jun 9, 2011

How to make the form size automatic setting the size equals to the screen. or Maximize the whole form including the form components.

View 3 Replies

Putting VB Content In The Center Of A Full Screen With Variant Screen Size?

Feb 2, 2012

Now I'm creating at app in VB (Microsoft's, Visual Basic 2010) which will be in full screen but I want to know if I can put all my content in the centre of the screen. At the moment it's at the far top, left of the screen. When the screen size varies I want it will stay in the middle for all shapes and sizes. Like :

<div style="margin: 0 auto; width: 500px;"></div>

But this is for web pages using HTML and CSS.

View 1 Replies

Screen Size - Screen On My Netbook Is Only 1024x600 And Half My GUI Is Missing

Feb 8, 2011

I have created a GUI and have set my 'Form1' window to match that of my PC monitor ( 1280x1024 ). However when i move the project to work on my netbook, the screen on my netbook is only 1024x600 and half my GUI is missing. Is there any way i can adjust my settings so that my 'Form1' GUI will auto adjust and display in full on both screen when i move the project back and forth?

View 2 Replies

Forms :: Size Form Proportionally To Screen Size?

Sep 24, 2009

If I have form say sized 1300 x 800, I would like to proportionally size the form to the computers screen size. I can get it to size to the screen size, but it is not proportional

View 11 Replies

VS 2008 Form Size Compatible On Different Screen Size?

Mar 5, 2010

I developed a form application on my computer, but when it was used in another computer with different screen size, i was told the form didn't fit. Do I have to adjust the form size or any other ways to let the form compatible on different screen size? (could be different screen size or wide screen)

View 2 Replies

Make The Size To Automatically Fix The Screen Size?

Jun 9, 2011

i've been coding a sidebar but i dont know how to make the size to aoutomatically fix the screen size..i mean if the screen resolution is 1000x789 or 890x678 s stilll fit to it I have find in google and youtube but still i didn't get any ides on how to do it And also if possible can we code s sidebar that automaticcally hide when we did not move our mouse to it?

View 1 Replies

Size Difference Between Desktop And Screen Size?

Sep 23, 2010

What is the size difference between desktop and screen size?

I've been developing an application, which consists of a bar to the bottom of the screen that I want to keep allways visible .

When i open a window and maximize it, it do not stay behind the bar but only to maximize the top of the bar!

View 7 Replies

Screen Sizing - Max=stuck - Won't Get Off The Max Screen Size

Feb 11, 2011

VB.net / VisualStudio8 I have an application I've written that's been very stable. I had it set to exactly 1024x768 resolution, and to windowsstate=maximize (I think that's what it's always been).

I recently started coding to give the user the option to use the 1024x768 or to have the program detect the max size of the screen and use it.

That part works great... I'm using:

Dim MonitorWidth = Screen.PrimaryScreen.Bounds.Width
Dim MonitorHeight = Screen.PrimaryScreen.Bounds.Height
Me.Height = MonitorHeight
Me.Width = MonitorWidth

What I'm baffled by is that the application now won't get off the max screen size. It's using the max of the screen, even when I do not call the screen resizing code above. I'm trying to give the user the option of the application only taking up 1024x768 (and placed up to the top left) or maximizing the application using the full extents of the screen.

View 4 Replies

Size Of RTB On Screen Vs Print Size

Mar 16, 2011

I have an RTB. Actually it is a RichTextBoxPrintCtrl as per KB 146022 but I don't think that matters.

I am printing the contents of the RTB on a label. I have determined the appropriate margin settings to cause the contents of the RTB to print on the appropriate label (there are 4 per sheet). That all works.

But I want what the user sees on the screen as he types to match what prints. So if he types three lines of data he gets three lines on the label. Also, if scroll bars appear, that is a clue that he have filled up one label. By trial and error I got the size of the RTB just right using the default font (MS Sans Seriff 8.25).

But when I or the user changes font size, the on screen display no longer matches the printed label. The label prints properly but it is not an exact representation of what is on the screen.

Is there a way to fix this problem so the screen representation of the label is always correct even when the font changes.

View 1 Replies

[2008] Zoom In And Zoom Out Document In Webbrowser?

Aug 26, 2008

Is there a way to zoom in and zoom out document in webbrowser?

View 1 Replies

Picturebox Zoom While Maintaining Same Size Of Picturebox?

Jul 8, 2011

I have a picturebox on a form. The image in the picturebox is actually a report. I want it so if the user clicks on it it will zoom larger --- while the picturebox remains the same size. Of course, the entire image will no longer be seen. So I also want to be able to drap this image around with the cursor. The examples I've found for picturebox zooming cause the picturebox itself to get bigger and smaller. I need it to be like an Access report. Click on the report and it gets bigger. Click again and it goes back to the full image. Does anyone know of an example or tutorial in VB.Net for this type of zoom-with-fixed-size picturebox function?

View 2 Replies

VS 2008 Zoom In / Zoom Out Option?

Oct 30, 2009

I created a Zoom in and Zoom out function for my application and it works great. I would just like your opion on my code, because I am wondering if it can be done a bit neater and more effective.

ts = ToolStrip
cms = ContextMenuStrip
vb.net
If Me.Font.Size < 30 Then

[Code]...

Me.form.font changes the font of all the controls except toolstrips, contextmenu's and menustrips.

Any idea's if this can be done any neater or how you can make menustrip etc.. use the font of the form?

Edit:This is the Zoom In version btw. The Zoom out is identical except it uses - instead of + when declaring the newFontSize.

View 1 Replies

Fit Form To Screen Size?

Feb 10, 2010

Anyone know of a way to fit a form to the size of the screen automatically? So it is fully visible on a 10" netbook if you designed it to fit a 13" screen?

View 2 Replies

Setting Screen Size From .net?

Apr 2, 2009

How can one set the screen size? As with the task bar, by incressing the size sets new limits when maximizing an application's window. How can I tell the system what would be the demensions of the desktop screen: left, top, width, height?

View 5 Replies

Form Stretched To Screen Size?

Nov 26, 2009

When I manually increase the size of my form in runtime, the controls remain in their positions but i need to make it stretched as photos the controls to be sticked to the background.This problem actually appears when I display my program on my laptop but using LCD screens with different resolution, I need to make it dynamically autofit the screen if possible...

View 5 Replies

Get Total Pixel Size Of The Screen?

Mar 8, 2012

I am writing an application that generates graphs. I need to set the bar size according to the size of screen (in pixels) How can I get the total screen size in pixels using vb.net code?

View 3 Replies

Max Form Size Changes With Screen Resolution

Sep 1, 2009

Wondering if there was a way around the seemingly nonsensical editor changing of the maximum size form you can edit/create to some value approaching the screen resolution you are working on. This is a P.I.T.A. as I often edit pages on a laptop with a smaller max resolution than the monitors I typically do layouts for.Any way to by pass this to let me edit larger screen sizes on my laptop?

View 1 Replies

Simple Screen Size Changer

Nov 27, 2011

I want to make a simple screensaver but I looked at what others suggested on how to change screen resolutions and it seems a bit much. So I'm hoping their is a simple way to accomplish this task. Basicly I want the screen to fill reguarless of your screen resolution with the background image coded in the source code. I know the picture will look funny on large resultions but its a sample code Im making, so i'm not worried about streatching a image.My thought was do something to detect window bounds or something.

View 6 Replies

Adjusting Form Size According To Screen Display

Nov 25, 2010

I've a form set to size 1240:750. On my PC where I've VB2010 installed, the screen size is set to 1680:1024 and the form can be viewed fine but on a PC with screen size set to 1280:1024 (higher than the form) the form in question is cropped almost a third of it. To adjust the form to everyone screen size I set the below code at load with no avail.

'Autosize form to screen
Me.Height = (SystemInformation.PrimaryMonitorSize.Height) * (0.9)
Me.Width = (SystemInformation.PrimaryMonitorSize.Width) '* (0.9)
Me.MaximumSize = New System.Drawing.Size(Me.Width, Me.Height)
Me.MinimumSize = New System.Drawing.Size(1240, 750)

View 3 Replies

Change Application Screen Size Setting

Jul 27, 2010

I am working on an application using vb 2008 express. I have built test programs over the past few weeks and shared them for feed back. Today when I finished some work, I built another test application, but when I install it the start-up screen maximizes but is set between one and two desktop icons from the top of the screen.

In debug mode it looks fine. In the past it looks fine. Each time I start the program the screen is in a slightly different location. It is set to start maximized and to the best of my knowledge, I did not change any settings in the property area. I have tried loading on three computers and the results are the same. Any ideas on what I could have done to produce this strange result?

View 4 Replies

IDE :: Change Screen Size 4x3 So It Can Be Read In 16x9 In VB6?

Jan 14, 2010

I purchased a new computer with windows 7. The screen size is 16x9. My old computer had 4x3. I can no longer read my VB6 programs as they no longer fit on the new screen. I need to alter the height. Is there some code that I can add to overcome this problem.

View 2 Replies

Re-size All Control Within Form To Fit Different Screen Resolution?

Jul 21, 2010

How to re-size all control within form to fit different screen resolution?

any solution on this? my control always run out of the screen size... can it re-size every control before the user can see the form load..?

View 4 Replies

Resize All Content At Exact Size Of Screen?

Mar 14, 2009

i working in a pda developed how can i resize all content at exact size of screen?

View 2 Replies

Screen Designer - Changing Size Of Control?

Jul 22, 2009

I am working on a application which is basically a screen designer. I have implemented the form designing capabilities using IDesignerHost and other interfaces. In my application user can pick a component from toolbox and drop it on the designer screen and can configure the properties from property window. I have my own set of properties which gets populated from database. Screen designer is working fine but the problem occurs when user changes some properties from property window. Say user changes property 'Width' then I change the width of the selected control in designer but the problem is SelectionOverlay shows the old size. When I select another control and select old control again, SelectionOverlay(resize handlers which appears around the control) shows properly. How can I tell the SelectionOverlay that the size of the control is changed.

View 2 Replies

Standard Application Screen Resolution Size?

May 8, 2010

I just want to get opinions from other developers.What size do you tend to prefer for your applications?I have decided to stick to 1024×768 but am I alienating the people who still have 800×600.According to Wikipedia only 1% of internet users still use 800×600 screen resolution.What size do you tend to prefer for your applications?

View 1 Replies

Use A Form Larger Than Development Screen Size?

Dec 15, 2011

Screen Size of my deployment screen is larger than my development screen.

If i try to set my form size larger than my development screen size, IDE doesnot accepts this.

Please let me know How can I use a form larger than my development screen Size?

View 7 Replies

VB2008 Screen Capture Pacific Size?

Apr 18, 2009

I want to screen capture but only the size of my form2.i have form1 and from2 a button on form1 to get to form2, my info i want to screen capture is on form2 buttons for screen capture have to meet exact size of form2 and buttons for it have to be in button to show form2

View 2 Replies

Change Font Size Of Code Modual On Screen

Jan 21, 2012

I want to make the GUI code listing easy to read. I want to inlarge the font. not any control; the listing of the code; not the form window layout; the code listing behind the form and modual listings.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved