Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recognizing textbox text change
Message
 
To
15/04/2005 15:48:43
Patty Solomon
Central Susquehanna Intermediate Unit
Milton, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01005310
Message ID:
01006055
Views:
16
Patty,

>My goal is to select a zip code from a combobox (which contains zip, city and state), and update a separate city textbox and state combobox from the selected combobox entry. The user has the option to overwrite the city and/or state.
>
>The code to place the default city and state into their respective objects is in the Leave of the combobox, and works fine. However, if I do not tab through the city and state objects before pressing the Save button, only the zip code change is saved. When I tab through these two textboxes, the changes to the city and state save ok.

It may be the way you're setting the value of the text boxes. I recommend checking out the MM .NET Dev Guide topic "How do I programmatically set the value of Windows Controls?".

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform