A textbox with the functions MaxLines and MaxLengthPerLine-VBForums
Results 1 to 2 of 2

Thread: A textbox with the functions MaxLines and MaxLengthPerLine

  1. #1

    Thread Starter
    Fanatic Member Lasering's Avatar
    Join Date
    May 2006
    Location
    Lisboa
    Posts
    559

    A textbox with the functions MaxLines and MaxLengthPerLine

    Hi!!

    This is my first user control so it isn't so perfect has it could be, but i think that is not bad at all.

    It has new two functions:
    • MaxLines
    • MaxLengthPerLine


    MaxLines: limits the max number of lines. (The function Multilined must be True)

    MaxLengthPerLine: its a kind of a MaxLength function but it works for a line, has the name says MaxLengthPerline, means max chars per line.

    The function MaxLength auto-changes dont change the value otherwise it wont work correctly!
    Attached Files Attached Files
    Last edited by Lasering; Jan 12th, 2007 at 11:21 AM.
    Controls: XPCC|Quantum
    Windows API's LINQ to XML Samples Regex Tutorial

    Albert Einstein:
    "Imagination is more important than knowledge."
    "Everything should be made as simple as possible, but not simpler."
    "Great spirits have often encountered violent opposition from weak minds."

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: A textbox with the functions MaxLines and MaxLengthPerLine

    Perhaps a brief description of what the user control does would be in order. I know that you have comments in your attachment, but stating what your control does in a post would save someone who might not interested the of time to open and read the comments.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.