In my project i want the forms to be maximized always and the option of draging it with a mouse should be disabled!
Though i can make all the form to the condition i proposed, i donno what to do to some of the forms as to stop them from being dragged, And also how can i make the startupform fro being dragged!
Please suggest!!!!!!!! !!!!!!!???????? ??????????
13 3392
From what you've said I'm guessing that you're wanting to change the form(s) so they're in windowstate maximized. In the form properties there is an option near the bottom of the list "Window state" with 3 options, normal, minimised, and maximised. Changing this changes how the form loads in form load. Hope this helps.
Geoff.
In my project i want the forms to be maximized always and the option of draging it with a mouse should be disabled!
Though i can make all the form to the condition i proposed, i donno what to do to some of the forms as to stop them from being dragged, And also how can i make the startupform fro being dragged!
Please suggest!!!!!!!! !!!!!!!???????? ??????????
Use the property of Form
Set Moveable=false
Windowstate=Max imize.
2nd Question???? conffusing.Plz Explain in Details.
Windowstate=Max imize.
If it's VB6, the actual name of the constant to use is vbMaximized (value is 2).
To prevent it from clicking the maximize button you should disable it.
You can do this by changing the MaxButton property of the form to False.
To prevent it from clicking the maximize button you should disable it. ...
Good point. Thanks, isotope.
If it's VB6, the actual name of the constant to use is vbMaximized (value is 2).
Yes, its a spelling Mistake. thank u for pointed out.
yeah i was maximize my form but i want to prevent the form from being dragged by mouse! how can i do this?????
Pls Help!!!!!!!!!!! !!!1
As SanjuMtr pointed out, set .Moveable = False.
I typed this in the form_load event
form1 is my form's name
with form1
.moveable=false
end with
and also simply wrote form1.moveable= false
Either ways i got this error:
Compile Error:
Function or interface marked as restricted,or the function uses an automation type not supported in visual basic.
Pls Help
this was the complete code in my form_load event - Me.Left = GetSetting(App.Title, "Settings", "MainLeft", 1000)
-
Me.Top = GetSetting(App.Title, "Settings", "MainTop", 1000)
-
Me.Width = GetSetting(App.Title, "Settings", "MainWidth", 6500)
-
Me.Height = GetSetting(App.Title, "Settings", "MainHeight", 6500)
-
Form1.Moveable = False
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Nancy |
last post by:
Hi,
I am working on a project where I have to make a form list static,
i.e. put in links so that users can choose a local file. As it stands,
it's looking for a php file. Here's an example of the body code:
<select name="standardcode" size="10"
onchange="document.reqForm.submit()" tabindex="4">
<option value="0" SELECTED>-- Select a...
|
by: Lyn |
last post by:
Hi,
I am working on a genealogy form. The only table (so far) lists everybody
in the family, one record per person. Each record has an autonum ID.
The parent form (frmMainForm) displays the data in each record, which
includes the ID of the father and the mother (who also have records in the
table). One record per form.
I have a Tab...
|
by: Kevin Myers |
last post by:
How can one obtain obtain the height of a MS Access 2K form?
There is a width property, but I don't see a corresponding height property.
I need to obtain the height of the form so that I can dynamically resize an
object on the form in the form's Form_Resize method when a user resizes the
form, both horizontally and vertically.
Thanks,...
|
by: Abhi |
last post by:
FYI:
This message is for the benefit of MS Access Community. I found that
this prblem has been encounterd by many but there is hardly any place
where a complete solution is posted. So I thought I should give back
to the community by posting our findings.
Thanks you all for all your help till now by posting problems and
their solutions.
...
|
by: Raposa Velha |
last post by:
Hello to all!
Does any of you want to comment the approach I implement for
instantiating a form? A description and an example follow.
Cheers,
RV
jmclopesAThotmail.com replace the AT with the thing you know ;-)
After discovering that access 2000 support form properties (I'm a
| |
by: alsemgeest |
last post by:
Hi, I'd like to change the properties of the default form design. Every
form I need to change many settings.
Especially the following properties (I try to translate them well from
Dutch):
* make the borderstyle dialog
* no recordlines
* no navigationbuttons
* backgroundcolor white
* font change
* no scrollbars
|
by: Simon Jefferies |
last post by:
Hello,
I have created a new form within C# and I am unable to get any properties on
this form and also unable to add a new controls to it.
Any ideas?
Simon Jefferies
|
by: Rob Meade |
last post by:
Hi all,
I've got myself into a bit of a problem and I'm trying to dig my way back
out, in a) the quickest way due to project deadline and also b) best
approach.
I have a form which gets a set of document type properties from SQL Server,
these properties are used to create corresponding controls on the form, so
for example:
|
by: jean.ulrich |
last post by:
Hi
I have a form that is not related with a table neither a query (unbound
form)
On this form I have a text field where the user can put a text or a
number
As I dont want to create a table just for that field, is it possible
that when someone write someting in the field, the text don't disapear
when he close the form and open it again
|
by: dhtml |
last post by:
I have written an article "Unsafe Names for HTML Form Controls".
<URL: http://jibbering.com/faq/names/ >
I would appreciate any reviews, technical or otherwise.
Garrett
--
comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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. ...
|
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...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |