Lock The Size Of A Form So The User Can't Resize It?
Jan 25, 2009How do you lock the size of a form so the user can't resize it?
View 3 RepliesHow do you lock the size of a form so the user can't resize it?
View 3 RepliesI am creating an application for a company and this CD will be distributed to hundreds of people. Many users will have different computer screen size and different screen settings such as their resolution set to 1024 x 728 and their monitor size 17" inches.
I noticed when I loaded the application on a different computer with different settings the application was to big for the screen and did not work. I notice that lot of other programs from microsoft resize their controls and text but never knew how they did it. How can I resize the form and control according to the user's setting.
I have an application in VB. In a single form are lots of labels with atleast 3 different sizes. What I want to do is, when I resize the form or maximize it, all of the labels and pictureboxes int the form are also going to be resized.
View 1 RepliesAnyone knows how to change the Forms and controls of the project as the Screen resolution of the computer changes?
View 1 RepliesI want to resize the form size on button click event.
View 2 RepliesI have been searching for a solution to this but I can't find one. I have played with the anchor and dock properties but they are not doing what I want, so here goes... I would like to place and size all of my controls on my form and then when the form is re-sized during run time (different resolutions, full screen/windowed, etc), have everything just scale up or down accordingly. Anchoring the controls to all four sides of my form re-sizes the control properly but it doesn't move it's location in sync with the other control's size next to it, they begin to overlap each other. Am I going to have to code my own scaling code for each control in my program?
View 5 RepliesI am developing a iimage veiwer.
1. i need to resize the form to a suitable size depending upon the heght and width of my image
2. their are two buttons one should always be at the bottom right corner and other always at the top right corner.
3. How do i make the picture fade in.
I want a set of child forms to keep their relative sizes and locations to their parent form when parent form is resized. So if one child form is opened and covers the lower right quadrant.. it will remain a quadrant for whatever resize is done on parent form.
View 3 RepliesIm trying to resize a picturebox dynamically using .size.height and .size.width Its not working. This is the error message: "Expression is a value and therefore cannot be the target of an assignment." Never used height and width before. Been trying to find the answer, but it seems beyond me. Im sure its easy. Anyone know whats wrong with this?
[Code]...
I have a windows form. I dont want the user to be allowed to maximize or resize the form.
View 5 RepliesI'm trying to figure out how to resize a form on load to fit to the user's screen. Many of my users are on laptops, or split screens between laptop and monitor..I remember in VB6, it was something like form.height = screen.height (or something of the sort)... but I can't find this functionality in VB.NET 2008. I'm also trying to wrap everything (multiple screens/forms) into one app, so I wanted to know if anyone was aware of any tutorials on form parent/child relationships... I don't want to keep opening and hiding forms individually without having them packaged in one work area....
View 9 RepliesHow can I resize my Form and my dataGridView to fit my user screen?
View 2 RepliesI have a Mdi form and I need to put a control on the form which the user can resize. Now I need a container can be dragged by user to increase it's size. The split container will not work in my case as I have childforms and stuff. I want a container whose size can be increased by dragging it on one side.
View 8 Repliesim trying to make it so the user not able to resize my form. i cant figure this out
View 1 RepliesI got two question: 1: How do I get the program to be "size lock?" When you have folder - you can drag it bigger or smaller, and I want the program to be inn the same size, and so it isn't possible to make it bigger.
2: When you have an important countdown on your computer - you need to see it all the time. I need the countdown to alltid stay in-front of others things like internet and games. How to do that?
Notice the two buttons at the bottom have moved down to the point where they are almost hidded? What can i do to resize the form as the user changes the font size?
|+--JDMils|+--VB6 & XL VBA+--VB Dot Net 2K8|
Notice the two buttons at the bottom have moved down to the point where they are almost hidden? What can I do to resize the form as the user changes the font size?
View 1 Repliesi made a form as big as my screen and remove the button on the title bar to ensure that the form will not be tamper with, but i still can make it small using mouse arrow drag, going to last border of the form.
View 4 RepliesI am working with VB 2010, I need to print content that is in Forms, but to doit the way I requested, I need to print on A5 size, or the need to make PaperSize = A5...
View 2 RepliesI'm currently in the process of making a dynamic signature generator, and I want to make the user be able to see what he would get... So I thought of putting a browse button and allowing them to load up a background image for their signature, but I also want the picturebox to resize according to that image's size. I need them to be the same size because of the image's X, Y are needed for the signature.
So I'm using this code for that:
LocalMousePosition = PictureBox1.PointToClient(Cursor.Position)
xy.Text = ("X=" & LocalMousePosition.X & "," & "Y= " & LocalMousePosition.Y)
It works fine, but it only gets the coordinates for the picturebox, not the actuall image, so I think if the picturebox is the same size as the picturebox it would get them just fine..
i working in a pda developed how can i resize all content at exact size of screen?
View 2 Replieshow I can resize the pane and the content adjust to the new size?I've tried to do this Panel_Menu.Width = 200 but the content does not resize to the new size. i want to see the information of 0 ,0 0 on on on , 7,5 IRE but I want the new size of the panel see all the information but in a smaller size. the problem is that when the user presses a button panel must be made smaller but has all the content?
View 2 RepliesHow can I resize the two dimensional array size without affecting its value?
View 3 RepliesI have a form, with a split container, and a picbox in the right container.I need make everything resize according to the picbox size? I cant get it to work!
picbox min size cant go below 320x480 everytime i try to have the code do it, either nothing changes or the form gets tiny!?
As an update to a program I had made awhile back, I am trying to auto-resize the image to meet the requirements of my application without having to manually do it elsewhere. I already can adjust the quality/compression for disk storage, but I want to resize the image so I can save the quality of the image.
So how do I resize an image to 1920*1080. (I want to check the image first to make sure that the image is in fact larger then 1080p before I resize it.)
I'd really like the solution to work in a DLL project so that I can move my application from the Windows Forms to the WPF UI.
I have a user control which contains some textboxes,buttons ,labels and comboboxes . I used that control in a form and inside a split contaier.Splitter can be moved by the user. User control is docked as fill.
Now when user move the splitter the user control size is changes as it is dock fill but the inner controls used in that user control looks like fixed in a single place .It are not moving nor resizing .How to do this .Is there any property to perform thisI already know about anchor property but sometimes it causes overlapping of controls so I can not use it.
I put in the iframe tag as follows in my .aspx page - Now what code do I put in javascript or vb.net to make this auto resizable depending on the size of the page that comes in?
View 1 RepliesThe object is to load an image into a picturebox, then save a new copy of the image in a different location, but with the height and width of the image box not the original file's height and width but I can't figure it out. I've got the loading and saving working no problem but getting it to adopt the new size is stumping me, it just keeps saving with the original file's size properties
View 2 Repliesi want to develop a billing software for my net cafe. how to lock the computer before a user entering their name in my Login form?after they entered their name, this form will insert a new data in userLogin table (user_login_name and login_time), and the computer will be available to use.
View 2 RepliesI want to resize picturebox with mouse to maximum and minimum size as Skype when video calling...I`m using vb 2010...
View 3 Replies