DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 20 Jul 2007 15:51:19 -0600,    posted on: microsoft.public.dotnet.languages.vb.controls        back       

Thread Index
  1    jay
          2    Jan Hyde (VB MVP)


comboBox Events question   
OK, whats the best event to trap in this situation:

1. dataBound controls to strongly typed dataset
2. comboBox on a Tab Control
3. Populate values on another Tab Page based on the selection from step 2.

If I select a value from the comboBox and try to populate those values to 
another Tab Page, I don't see the changes until I repeatedly select the 
comboBox and tab out of it.  What if the user simply changes a value and 
doesn't move out of the control?

The SelectedIndexChanged event fires when the form opens, and other events I 
have tried only fire when the user tabs out of the control.  There must be 
an easy way to handle this simple situation?
Should I be doing a refresh or something?

Thanks for your assistance
Date:Fri, 20 Jul 2007 15:51:19 -0600   Author:  

Re: comboBox Events question   
"jay" 's wild thoughts were released on
Fri, 20 Jul 2007 15:51:19 -0600 bearing the following fruit:


>OK, whats the best event to trap in this situation:
>
>1. dataBound controls to strongly typed dataset
>2. comboBox on a Tab Control
>3. Populate values on another Tab Page based on the selection from step 2.
>
>If I select a value from the comboBox and try to populate those values to 
>another Tab Page, I don't see the changes until I repeatedly select the 
>comboBox and tab out of it.  What if the user simply changes a value and 
>doesn't move out of the control?
>
>The SelectedIndexChanged event fires when the form opens, and other events I 
>have tried only fire when the user tabs out of the control.  There must be 
>an easy way to handle this simple situation?
>Should I be doing a refresh or something?
>
>Thanks for your assistance 
>

You can use a flag to indicate the form is loading and check
this in the selectedIndexChanged event.


--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Date:Wed, 01 Aug 2007 17:02:28 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us