Making Form Size Greater Than Screen Size
I trying to print a form with graphics. I'm simply using the PrintForm statement. The problem is that the screen size doesn't allow the form to expand to a full page. Meaning, I can only print on the top three-quarters of the page.
My question is how can I make the form height increase to greater than the screen height?
Ideally, I'll display this expanded form in a MDI parent window that allows the user to scroll to the bottem part of the expanded form.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Possibillity To Create A Form Size Greater Then Screen Size
Hello VB users,
I am trying to create a form size greater then screen size.
For example to create a area of a big factory.
To move to a part what is not on the screen you have to use a scroll bar.
Is this possible? If yes, how do I do this?
Nice regards,
Michelle.
Making Form To Screen Size.
I have changed resolution to 1024 X 728 pixels.Now wen I open a form in design mode I am not able to drag its width and height.
Height = 11520
ScaleHeight = 1275.275
Width= 10995
ScaleWidth = 2000
I aligned some controls on the form to look neatly.But when I run application my Form should completly fill computer screen.I don't want to use WindowStae = Maximized.If i say like that my controls are not aligning properly and not looks good.
Si If I made my form to screen size(15") while in design time so I can place my controls in neat way?
can any one explain how to do that?
What is the difference of Height and scleHeight?
Thanks
Adjusting Form Size Based On The Screen Size
I want to Set My Vb 6.0 Form Size based on the Screen Width & Height. Its important that i should extend this to all the Controls in a particular form like ToolBar,Tree View, Grid etc.,
How to acheive this? I need the Solution as a reusable code which can be put in a Module (to be used when any form gets loaded).
Thx yaar ...
.. SK ..
Form Size And Screen Size
I've made a form on friends pc with VB6 and when i transfered it to my pc, i have the problem that the form is displayed in a way that is only a part of it in the screen...
What mean is that the form seems to be larger than the screen how is this possible?
How can i make it to be the same size as the screen?
How To Set Picture Size, Tabstrip Size And Form Size To Fit Different Resolution?
Hi all,
Just a very simple question, but just can't figure out how to set it...
I use the below code to set the tabstrip size and picture size at run-time, the width is working fine but the height will not show perfectly for every resolution set (especially 800, 600). The figure .2, .048, .04 is by try and error.... anyone have any good idea to set it no matter which resolution is used?
Code:
public sub Form_Resize
TabStrip1.height = Me.height - TabStrip1.Top
TabStrip1.width = Me.width - (Me.width * .2)
For Each picture In Picture1()
picture.width = form1.ScaleWidth * 0.048
picture.height = form1.ScaleHeight* 0.04
Next picture
Thanks!!
How To Obtain Users Screen Size Then Make That The Forms Size
i want to form load my form to fit the size of the users screen.. so make the height and width = to the screens height and width.. whats the easiest way?
also for components inside the form. like if i resized the form i want the components to stay the same size and resize with it?? i know it has something to do with scaleheight..ect..
thanks
Changing The Size Of The Forms & Controls According To The Screen Size
I am creating an application in VB 6 that has many forms and each forms has
several different controls. I am working on a 21' screen how will I take
care of the form sizes and the controls in it when it will run on a 15'
screen.
I have already written this code for screen
If Me.Height >= Screen.Height Then
Me.Top = 0
Else
Me.Top = (Screen.Height - Me.Height) / 2
End If
If Me.Width >= Screen.Width Then
Me.Left = 0
Else
Me.Left = (Screen.Width - Me.Width) / 2
End If
How do I make all my controls resizable at runtime?
Thanks in advance
More Classes = Greater Exe Size?
Someone was just telling me that creating classes to do work inside of an application actually produces larger executables compared to simply putting the same number of lines of code in a module - True?
Form Size After Making Exe
Hi,
Question on the size of a form. When I compile my project on one PC and run the exe, the form size is correct. When I move the project to another PC and compile, the controls on the right side and bottom of the form get chopped and I have to manually resize the form to show them. I need to compile on the other PC in order to use an older version of a 3rd party component.
Is there some setting I need to check to prevent this from happening.
Thanks for any ideas.
How To Fix The Form Size To Screen
I've created a form with sstab control on my pc(1280X768 screen resolution)
And i am trying to run the form on other pc(with 1280 X1024 screen resolution).The Form is fully designed with different controls(SStab..combo etc...)
I have the problem that the form is not displaying completely,
i can view only one part of the form.
Is it a problem with the screen resolution??
I used the following different types of code for resize.
but it is not working
??Any suggestionos please
VB Code:
Private Sub Form_Load() Me.Height = Screen.Height Me.Width = Screen.WidthEnd Sub Private Sub Form_Load()fme.Move Screen.Width - me.Width, Screen.Height - Me.Heightend sub Private Sub Form_Load() Me.Move (Screen.Width - Me.Width) / 2, _ (Screen.Height - Me.Height) / 2end sub
Thanks
Load A Form To Fit Any Screen Size
Please I like to code my form to load without scartering the component put on the form weather it load on 800 X 600 screen or 1020 X 760 resolution. Please help me out
Thanks
Form Sizing To Fit Within A Given Screen Size
I have an application whose main form is centred on the screen and barely fits at the top and bottom on a screen resolution of 1024 X 1268. Though things fit and look fine at this resolution (on a large monitor to boot) I know that in order for this application to be transferable it must be able to display on smaller monitors and coarser resolutions.
My question is this: Where in the project's code would you put the code that finds the screen dimensions of the monitor the App is being loaded up on, at the display resolution the user is operating on?
Is it just as simple as giving a minimum distance (in twips) from the screen height to the form height and one for the difference from the bottom of the screen to the bottom of the form? Where does one look to find the Property "Screen.Height"?
Form Size Changes With Different Screen Resolution?
hi all,
i have create a program under the resolution of 1024x768. Is it possible that the form of my program gets stretched even if i distribute this program to the computer of the same resolution, i.e 1024x768.
Thanks!
cheers,
stupidz
Form Size Vs. Screen Resolution
how do you determine form size (height and width) based on selected system screen resolution?
example: if monitor resolution is set for 800x600 what would be the form size (height and width) if i wanted the form to be same size as screen?
what is the relation of the height and width indicated in VB6 to the screen resolution?
How To Set Form Width To Screen Size?
I have made a text scroll program that runs at the top of the screen. it has a fixed width and hight right now to fit 1024x768
what I need is, when the program starts it makes the form the same width as the screen no matter what screen size the user has.. height can stay the same. form doesnt move so it doesnt need to dock or anything either.
Thanks!
Garrett
Resizing Form In VBA According To Screen Size
In VBA is there a way for a program to determine the PC screen size and
size a form accordingly to fit the window? Example: I need my form to fit
my monitor's screen size of 800x600 pixel size, etc.
Eric Blanco
The Casey Group
3799 Route 46 East, Suite 209
Parsippany, NJ 07054
973-299-4725
email@removed
Screen Resolution And Form Size
Hi, ALL
Can i change the size of my form and associated controls as per theScreen Resoultion?
Please suggest me to achieve this.
Thanks/Regards
AT
Form Size Against Screen Resolution...
Lets see if anybody can handle this problem...
I want to have a form sized larger then screen size. VB Is not letting me have taller form then current screen size, but I need to use one for my program. Even thou I am not showing the form, I only use Form1.PrintForm and it cuts the bottem. In design time, I can enter the heigth number manually, and make it large... In run time, it cuts it...
So... anyone could help me on this ?
Thanks
Leo
Set Form Size Higher Than Screen Resolution
i Would like to set form size higher than screen resolution.
Please don't answer me Form.width = screen.width+x !!!
i have already tryed that but it doesn't work...
I have a form with a layout designed for screen over or equal to 1024X768
but when i load that form in a screen of 800x600 Vb6 decide to cut hardly the form hiding critical buttons...
thank you for your help
Formatting Form To Users Screen Size
hi VB's
my question is probably simple to most of you, but for me it will be realy handy!!
i need to make sure that the forms i built reformats to the users screen setting, example :480x640 or 1024x768...i need the form to stay intact but to stretch like a picture...
thank for you're time
Laurent
Form Screen Position - Monitor Size
How would I set the form position to the the bottom right of the screen area.. I am basically thinking of the different sizes of monitor's and resolutions...
The Left and Top properties can be set of course, but...
Thanks in advance
Setting Vb Form Size According To Screen Resolution
I am stuck up with a problem.I designed an application(in VB) which looks great on my system but when I transferred the application to the clients system it doesn't seem to fit in the screen.I tried to change the resolution but some drivers were missing and I couldn't change the resolution.Is there any way we can change the size of the forms according to screen resolution?
Thanks for any help in advance.
Form Size In Different Fonts And Screen Resolutions
I've got one user who uses large fonts and a lower (800x600) resolution on their PC. This causes my form to run off the edges and they can't see the controls or even close the form.
I've read several older threads about this but I'm still not sure how I should approach fixing the issue. Any advice? I tried to have patience but it took to long! -DW
Stretch Image To Form (or Screen) Size
I have a form that opens maximized so it'll cover the entire screen in any resolution. I want an image box to cover and stretch over the entire form (or screen) as well no matter what the resolution. I've tried the followin excerpts of code, but none of them work:
Code:
image1.width = screen.width
image2.height = screen.height
Code:
image1.width = me.scalewidth
image1.hieght = me.scaleheight
ect.
Could someone please tell me what I'm doing wrong?
PS
I also tried changin the form's scale mode property to "pixel" but that didn't do too much.
Edited by - Marce22 on 8/3/2003 11:47:24 AM
Making My Form Go To The Size Of The Picture Box When I Load The Form
I need help with making my frame automaticly load with the same size as the picture loaded in it... I have it when I browse for the picture to open it sets that picture to a frame... and the frame opens with the picture in it... but I need the fram to go to the correct size.. the same size as the picture.
N00b Question - Form Not Same Size On Diff. Screen Resolutions
/me new to forums
I start off by making a new form...maximize...put a command button on upper-left-most corner...another on the lower-right-most corner...make .exe
It looked fine on 1024x768, but when I reduced the resolution to 800x600 the button became huge, and the lower-right button was not there. How do I make the form the same size for all resolutions, or, how do I make scrollbars for the form instead? VB does not make one automatically. Actually, maybe the scrollbars idea sounds better, but I don't know how to use them. Please help...
In Access, Resize Size Application To Size Form
Hello,
I'm using Access.
I want to specify the size of the application (Access) to be adapted with the size of a form (which dimensions can't be changed) and i want the form to be anchored on the top left of the application. I thought to put the code in the Form_load.
I found a lot of threads that deal with resizing but all of them seem to answer the problem 'size of the controls' with 'size of the form'.
If someone can help me !
Thanks by advance.
PictureBox Size Change With Form Size [Solved]
I have a toolbar and a statusbar on my form, i want the size of the picturebox to follow the size of the form. So this is my code
Code:
Private Sub Form_Resize()
If Me.WindowState <> 1 Then 'not minimized
On Error Resume Next
Picture1.Top = Toolbar1.Top + Toolbar1.Height
Picture1.Left = 0
Picture1.Width = StatusBar1.Width
Picture1.Height = StatusBar1.Top - (Toolbar1.Top + Toolbar1.Height)
End If
End Sub
This works perfect if the window state is 0 (normal) if it is maximized the size of the picturebox is the same as it was before i maximized.
Below is the testcode
Edited by - anders@dac.se on 6/16/2004 6:37:13 AM
Form Size - Picture Size - Different On Dell
I recently wrote a program which has a number of forms with background pictures. They have worked well and looked good on all manner of systems. The pictures were created the right sizes for the forms.
However, yesterday the program was installed on a brand new Dell (I din't know the spec.) and while the forms themselves looked fine, the pictures which were their backgrounds only used part of the form area - the upper left.
I don't know how to fix this. I can't even get to see it on my machine. Any ideas out there? Please?
Form Size On Differnt Size Monitor
Hi all
I am having a problem with an assignment.The problem is that when i put my assignment from my home computer ("17" monitor)on my college computers ("14" monitors) there are parts of my forms missing.The forms wont fit on the screen.Is there anything i can do?
Need help with this badly!!
Thanks
Size Form In Ratio (Proportional Size)
Hi Ya'll
Is it possible to resize my form in ratio?
When you drag your form bigger or smaller from the corner, you can virtually size in any direction - height and width. What I want is to resize the form in ratio. A proportional size, so you can *only* drag the form bigger or smaller in the RIGHT ratio (No Height and Width sizing).
Example:
Height = 100
Width = 56.18
This is a ratio of 16:9 (1.78)
The user must only be able to drag from the corner in that ratio (So no Height and Width sizing)
I saw a program lately...
"Show window contents while dragging" was disbaled, and that gray line that appears when sizing could only be dragged in the right ratio...Trying to size in height and width was not possible, they could only be sized together...
[I find this really difficult to explain, I hope someone understands it]
Can anyone please please help!!!!
Greetz,
Jeffrey
Adjusing Size Of Components With The Size Of Form
Hi,
I want that whenever my form is resized, all the components inside it should be resized so as the user can view all the contents of the form even after it is restored.
can anyone tell me how can i achieve this.
thanks.
Restricting A Picture Box Size To The Form Size.
Hello,
I have form and a pic box on that. Now I have auto resize set to True. But if the picture is bigger than the form part of the picture gets lost behind the form. Is there any way to make the picture box only go so big but still have the auto size on true?
Thank you for your help and have a great day!
Stilekid007
Size Of Picture Box To The Form Size.
I am expecting this code will expand picture box to fill whole form.But it is not.Any Idea why?
Private Sub Form_Load()
Form1.WindowState = 2
Picture1.Width = Form1.ScaleWidth
Picture1.Height = Form1.ScaleHeight
End Sub
Thanks
Form Size = Monitor Size
I want to be able to size my from so I use ScaleMode=true.
I have a row of slider bars that will only fit on a 19 inch monitor
What if my user has a 15 montitor can I set up so all of form can be seen? I looked through forum with no results. Any keywork would be greatfull.
Jerry
VB.6 User, Since 2002
Next Generation Lighting Controls
www.jmelectronics-online.com
Printing The Form Greater Than The Screen
PEET
The code which u have send doent work for the form larger than the screen.
If the form is larger, the windows task bar also get printed. I want only the from window to be printed....
How do i print only the form.
Printing The Form Greater Than The Screen
Hi,
how do i print the form which is larger than the screen. I need the nonclient area such as titlebar, menus and borders also to be printed.
Is there a way to print this????
Screen Size Problem - How Do You Accomdate Multiple Screen Settin Gs?
Porting my applications from one machine to another sometimes results in the
app covering the entire screen - sometimes control features are hidden, or
close to hidden, at the bottom. I understand that different screen settings
are affecting the size of my app - what I don't understand is how to modify
my app to accommodate varying screen settings. Any suggestions?
Thanks
|