|
by: Saintor |
last post by:
What I do now is I put a value in the tag property, and using the
form_current event, I run through all controls properties until the ones
with the required tag value are met. Sound OK in theory, but it is ...
slow.
I thought having a table with the name, type of controls and put my 'tag
value' there. At the opening of the form, I would retrieve a recordset from
the table, and perform a subroutine on the current event to lock/unlock...
|
by: Tim Bücker |
last post by:
Hello.
I have a form with some controls on it. One of these controls is a button
that disables/ enables all the other controls.
The form itself should also be "disabled/enabled", so I set
this.FormBorderStyle = FormBorderStyle.Sizable;
to "enable" and
this.FormBorderStyle = FormBorderStyle.Fixed3D;
to "disable" the form (no resize).
|
by: Scott Emick |
last post by:
How can I disable events for the controls on a form? I tried setting the
form's enable property to false, but that doesn't stop events from firing on
its controls.
I need to temporarily disable a form and load values into controls without
any events firing, then re-enable the form.
--
Scott Emick
Web Programmer
|
by: Antuane |
last post by:
please help,
i'm trying to find a simple & easy way of enabling & disabling (generally
making them readonly) most of the controls in my form.
Cuz i want to create a form, for the user but only a readonly form (with no
write access).
But i cannot find any easy way of doing this,
i've tried using the OnEnabledChanged() event, & exposing such other custom
events.
|
by: Edwin Knoppert |
last post by:
I have a div which holds controls.
I'm looking for a way to disable all controls but *without* setting each
control enable state.
Same to style>display i'm looking for a disable method.
Do i need a container control for this?
|
|
by: Larry |
last post by:
Is there a way to disable all the controls the instant any auto-postback
controls are changed (resulting in a postback that takes a couple seconds),
so that the user can't continue changing other controls while the postback to
the server is running?
The reason this is necessary is because the user can be fooled into not
knowing that the browser has posted-back to the server (he doesn't see the
little blue progress bar at the bottom of...
|
by: SteveKlett |
last post by:
I have a subset of form items that I need to perform different
operations on (enable/disable, clear values, change style, etc)
rather than hard code the IDs or names I would like to recursively
search a parent element(in my case a <table>) and search for elements
of a certain type (<input>, <textarea>, etc) and perform operations on
them.
I've done some initial googling and found PLENTY of samples of
disabling all form items, but I...
|
by: masterej |
last post by:
Developers,
Is there any way to disable all checkboxes on a form? I have a form
with 160 checkboxes and I want to be able to disable all of them. Is
there a way I can do something like this:
for (int i = 0; i < 160; i++)
{
string checkbox = "checkBox" + i.toString();
(Cast)checkbox.enabled = false;
|
by: sebouh181 |
last post by:
I am writing to registry using javascript.
var wsh = new ActiveXObject("WScript.Shell");
var key = "HKLM\\Software\\Neos\\2.0\\LightMode\\my-script";
wsh.RegWrite (key, 1999, "REG_SZ");
when i run this javascript code in my HTML page the following warning message appears
An ActiveX control might be unsafe to interact with other parts of the page. Do you want to allow this interaction?
I want to remove this message.
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
|
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...
|
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();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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 we have to send another system
|
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 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...
|