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 3377
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=Maximize.
2nd Question???? conffusing.Plz Explain in Details.
Windowstate=Maximize.
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
Though i got the form not to be moved by the mouse by making the moveable property in its property's table to FALSE, i would like to know why the same cannot be done with the code i gave in the previous post.
Please explain the error i mentioned above!
Thanx a lot!!!!!!!!!!
It is because in vb6 the forms Moveable property is read only at run time.
what is the difference there in typing it as a code!
Even it is gng to be run only at runtime, isn't it!
Pls do explain clearly!
thanx!
what is the difference there in typing it as a code!
Even it is gng to be run only at runtime, isn't it!
DEsign mode and run-time mode are quite differnt. Some things can only be done in one mode or the other. It's not always clear why, though presumably there are reasons.
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...
|
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...
|
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...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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
--...
|
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...
| |
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...
|
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...
|
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,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |