|
by: Chris Mayers |
last post by:
Hi,
I have an application that has (for the sake of argument) 2 (MDI) windows
open.
If I click into a textbox on FormA then the 'Enter' event for that TextBox
fires, great!
However, if I then click on FormB, then back to FormA although the cursor is
still flashing in the same textbox on FormA, when I tab out, the 'Leave'
event for that TextBox does not fire. If I stay on FormA and Shift-Tab back
into the textbox then the 'Enter' event...
|
by: JayDee |
last post by:
After a user enters data into a field, I need to populate other controls on
the form, based on the user entry. I have to use either Leave, Validating or
Validated, and I take it I can't use LostFocus because there is no selection
for that event in the dropdown list on the code page. What's happening is
that all 3 events mentioned above for the textbox control fire in the proper
order when the form is invoked, but don't fire the first time...
|
by: Zyrthofar |
last post by:
Hi
I have three textboxes indicating the individual RGB values of a
color. When the user leaves a textbox (Leave event), I check the
validity of that number and saves the three values to a set of raw
data... The sub used handles the three textboxes's Leave events, and
uses the 'sender' variable...
Now I have a picturebox with GDI+ circles in it, representing the 8
different colors in the palette. You can choose the color number by...
|
by: AussieRules |
last post by:
Hi,
I have a form with many textbox on it. Behind this(so to speak), is a class,
and each time the user changes the value of the text box I want to update
the relevant property of the class.
I have the class.property = txtbox.text set on the textbox.leave event, and
this works fine, except for when the user clicks on my toolbar button to
save the details to the database.
|
by: Stan Sainte-Rose |
last post by:
Hi,
I have a problem with my textchanged and leave events
I have a script in the leave event of my textbox and also in my textchanged.
The script in my textchanged adds and displays a tabpage.
By this action, automatically, the leave event executes its scripts
and this is my problem.
How can I remove or disable the Leave Event Script when I m in the
textchanged. I suppose it's when the tabpage is added.
|
|
by: liups |
last post by:
Hi,
I have an array of usercontrols, each of the usercontrol has a label
and a textbox, I want to do some checking when the textbox loses
focus, the code is like this:
Private Sub txtTextBox_Leave(ByVal sender As Object, ByVal e As
System.EventArgs) Handles txtTextBox.Leave
select case me.tabindex
case 3...
|
by: G.Ashok |
last post by:
Hi,
I just installed VS.Net 2003 and upgraded my project to 2003. Immediately
found the following new behavior which causes my solution working erratic.
In the leave event of a control (e.g. TextBox) I select (set focus to)
another control cause the leave event to raises again of the source text
box.
Steps to reproduce.
|
by: Tom |
last post by:
I have a VB .NET application that has a text box with the
following code to handle the leave event.
Private Sub txtIDiscountRate_TextChanged(ByVal sender
As System.Object, ByVal e As System.EventArgs) Handles
txtIDiscountRate.Leave
If txtIDiscountRate.Text.Trim <> "" AndAlso _
MsgBox("Are you sure you want to use a non-
default discount rate?", MsgBoxStyle.OKCancel) _
= MsgBoxResult.Cancel Then
|
by: William E Voorhees |
last post by:
I have code (using the leave event) in a textbox which prevents the user
from leaving the box if it is blank. I would like the user to be able to
click on the button of the form and close that form without firing
the leave event in that text box. An answer would be helpful.
Thanks,
Bill
|
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: 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...
|
|
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: 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...
|
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.
|