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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by arevans

  1. arevans

    composite control issue

    Thanks, JurkMonkey. I got it to work. As you said, the Value_Changed event must have become unlinked, somehow. Followup question: Is there a way to change the height of a textbox control / datetimepicker control? If I try to change the property setting to say 25, it defaults back to 20...
  2. arevans

    composite control issue

    I created a composite control - called DateBox - that inherits from UserControl. It combines a DateTimePicker control (dateTimePicker1) together with a TextBox control (textBox1). In the designer, the textbox control is overlaid on the datetimepicker control so that you see the textBox and...
  3. arevans

    problem with custom control in design view

    I figured it out. I was trying to build a numeric text box control with the code below. After I deleted it, it worked fine! public override bool PreProcessMessage(ref Message msg) { Keys thisKey = (Keys)msg.WParam.ToInt32(); bool isNumber = ((thisKey >= Keys.D0 && thisKey <= Keys.D9)...
  4. arevans

    problem with custom control in design view

    I inherited from TextBox.
  5. arevans

    problem with custom control in design view

    I created a custom control that inherits from textbox in a separate project (class library) in my solution. The custom control appears in the toolbox. I added a reference in my main project to the class library project. I can drag it to a form OK, but if I click away from it to another control...

Part and Inventory Search

Back
Top