473,799 Members | 3,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to disable a form being resized

Hi there

How can I disable a form being resized? i can't find a property in the
property window to do this.

Thanks

yuelin
Nov 13 '05 #1
3 41141
Yuelin,
Change the FormBorderStyle to one of the Fixed values: FixedSingle, Fixed3D,
FixedDialog, and FixedToolBar.

The FormBorderStyle property is under the Appearance category.

Hope this helps
Jay

"Yuelin" <li***@lineone. net> wrote in message
news:uJ******** ******@TK2MSFTN GP11.phx.gbl...
Hi there

How can I disable a form being resized? i can't find a property in the
property window to do this.

Thanks

yuelin

Nov 13 '05 #2
Just try a different border style and get rid of the maximize button on the
Toolbox.

"Yuelin" <li***@lineone. net> wrote in message
news:uJ******** ******@TK2MSFTN GP11.phx.gbl...
Hi there

How can I disable a form being resized? i can't find a property in the
property window to do this.

Thanks

yuelin

Nov 13 '05 #3
Yuelin,

Set the property Form.FormBorder Style to something else than Sizeable. Set
it toFixedDialog for example (which still allows minimizing and maximizing)

Regards, Jim

"Yuelin" <li***@lineone. net> schreef in bericht
news:uJ******** ******@TK2MSFTN GP11.phx.gbl...
How can I disable a form being resized? i can't find a property in the
property window to do this.

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1529
by: Bruno Alexandre | last post by:
Hi guys, If I want to block a user to change a form after submiting, I add a function that will disable the submit button, but when I'm getting the form collection (using post or get (form/querystring) I can't retrieve that button value... Is there any trick to do this? Like https://www.cuworld.com/ webpage... Try to register as a free user membership and after click the submit button check what hapend... They
1
16516
by: J Belly | last post by:
Hi, I have a table of questions (with radio buttons) that I want to appear greyed out so that users can feel they can skip it and go on to the next page. But if they should choose to answer the questions, I'd want them to uncheck a checkbox so that the table would appear white. How do I do this? (If I can also disable the radio buttons at the same time, that would even be better.) Also, I'd need it to work in both IE and...
3
2312
by: joe t. | last post by:
Here's what to look at: http://sawyer.thookerov.net/request/itrequest.php (script file: http://sawyer.thookerov.net/request/request.js The form works fine in Firefox. Clicking on certain elements enables or disables other elements as intended. The visual refreshes and sends focus as needed. However, using IE6, the visual does not refresh unless the user clicks away from the control element (eg. open area of page, or clicking one
2
3580
by: ad | last post by:
I use authorization to Form in the root Web.config But now I want to disable the Form authentication when request some web pages How can I do?
4
2636
by: clickingwires | last post by:
How do you disable/enable form elements with a check box. Like when it is check you cannot add anything to say name field?
5
22950
by: neehakale | last post by:
language using: C#. platform for program: WINDOWS FORM I wnt to disable the right click for text boxes.And also want to diable the context menu. I have already disable the Minimize and maximizsed buttons from the form properties and set the form border style to fix dialog but still on right click of mouse, the context menu for close and move is cming.
2
2133
by: Kim | last post by:
I have a problem with IE7. In Firefox2 and IE6 can I disable an input field in a form without any problems, yet it doesnt work in IE7. I havent seen this reported before. Code: document.Form.Field.disabled = true;
11
2313
Jacotheron
by: Jacotheron | last post by:
I need a script that can disable the submit button on a form or prevent the form from being submitted when there is an illegal word or character in the text box. This should prevent a spam bot from sending links to me via my website's contact me function. Here is the form that I need to protect: <form id="FormName" action="thehandler.cgi" method="post" name="FormName"> <p>Name: /Naam: <input type="text" name="name"...
1
2978
by: rash007 | last post by:
I am building up a table in php built from an array in a database. I can assign each row its own id's etc. But I need to enable or disable checkbox buttons and a text area depending on the checkbox for that row being checked or not. hotellist.php <div align="center"><input type="checkbox" name="en1" id="en1" onclick="enable1(this.checked)"> <input type="hidden" name="editid" id="editid" value="<?php echo $id ?>" /></div> hotel.php ...
0
10485
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10252
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.