Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BLaZeXX

    VS and Lost Errors

    i think you can't , i remember that Delphi does the same thing but never know why
  2. BLaZeXX

    TextBox subclassing

    Doesn't work I really need to include SetStyle(ControlStyles.UserPaint,True); And I won't because now i have to remake the entire control the only thing i want is make a bevel effect when my mouse passing over the control I think this is the problem with the TextBox control (you can't) any...
  3. BLaZeXX

    VS and Lost Errors

    use the try,catch,finally statement like this try { the code you want to execute } catch(Exception e) { MessageBox.Show(e.Message); } finally { destruction of the object variables that you don't need }
  4. BLaZeXX

    TextBox subclassing

    Thanks for the suggestion, but it's doesn't work :( anyway if u try the code I gave you will see that the TextBox won't change anything when you are passing on and out of it. I have to : SetStyles(ControlStyles.UserPaint,true); and then now it's very weird for me. if u want to understand me...
  5. BLaZeXX

    TextBox subclassing

    Inheriting from System.Windows.Forms.TextBox bool IsOver = false; protected override void OnMouseEnter(EventArgs e) { base.OnMouseEnter(e); IsOver = true; Invalidate(); } protected override void OnMouseLeave(EventArgs e) { base.OnMouseLeave(e); IsOver = false...
  6. BLaZeXX

    TextBox subclassing

    Hi, I'm trying to make a little plus to the TextBox Control. I want to make the TextBox Raised when the mouse is hover and and Flat when leave. That part works fine for me but the problem is that I got the text to disappear each time I'm leaving or entering the control. BTW can someone point...

Part and Inventory Search

Back
Top