Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jeff Jordan

@Jeff Jordan
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • TabPage Events do not fire w/ .Net1.1
    J Jeff Jordan

    mikone wrote:

    TabControls "TabIndexChanged" event.

    The problem here is that the event is raised after the new tab is drawn. I can reactivate the previous page but then i see the page flicker. What i want to do is prevent the page change. My current solution is to override the OnSelectedIndexChanged(EventArgs e) method. But that looks awfully cumbersome given the fact that I should be able to page enter / page leave events. Only it does not work because there is a bug in .Net 1.1 that has been fixed in version 2.0 Cheers Michael

    C# question csharp

  • TabPage Events do not fire w/ .Net1.1
    J Jeff Jordan

    Thanks but that does not help me:( I simply created a new C# windows app, dragged a TabControl from the Toolbox and added two Tabpages. Then I made to following changes to the resulting code: public Form1 () { InitializeComponent (); this.tabPage1.Leave += new EventHandler ( tabPage1_Leave ); this.tabPage1.Enter += new EventHandler ( tabPage1_Enter ); } void tabPage1_Enter ( object sender, EventArgs e ) { Debug.WriteLine ( "tabPage1_Enter" ); } void tabPage1_Leave ( object sender, EventArgs e ) { Debug.WriteLine ( "tabPage1_Leave" ); } I expect the Events to fire when the user selects a tabpage. That does not happen. The same code imported with VS2005 works! What can I do? Michael

    C# question csharp

  • TabPage Events do not fire w/ .Net1.1
    J Jeff Jordan

    Hello i have a simple windows form with a TabControl and several TabPages. I've added Event Handlers for the TabPage's Enter/Leave/Validating events. The Events never fire! The same code build with VS2005 works! How can i get the Events to work with VS2003 and .Net 1.1:confused:? Michael

    C# question csharp
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups