Results 1 to 5 of 5

Thread: add my properties in existing textbox, how is possible using VB6.0

  1. #1

    Thread Starter
    Member sasikumar1's Avatar
    Join Date
    Nov 2006
    Posts
    56

    Question add my properties in existing textbox, how is possible using VB6.0

    Dear Experts.
    Hi I am SASIKUMAR
    Im using VB6.0
    Now I have prob. for create new textbox (add my comment, dispalycondition properties) how is possible with out creation OCX or any idea about this .

    I want

    Text1.Comment=" my comment here stored "
    Text1.displaycondition=" what ever condition here "

    this type of textbox

    Best regards

    P.SASIKUMAR
    Papyrus

  2. #2
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: add my properties in existing textbox, how is possible using VB6.0

    sasikumar:

    my comment here stored
    Are you storing your comments in a database or where are they stored?

    And I guess the same question for your conditions?

    I am not sure that I understand what you are doing, but wouldn't you want to have two textboxes. One that displays "your comments" and one the displays "conditions"?

    Or, maybe use a combobox and a textbox.

    When someone selects a comment from the combobox the corresponding condition could be automatically displayed in a textbox.

    Like I said, I probably am not understanding what you are trying to do.

  3. #3

    Thread Starter
    Member sasikumar1's Avatar
    Join Date
    Nov 2006
    Posts
    56

    Re: add my properties in existing textbox, how is possible using VB6.0

    Dear Experts

    Do you understand my probl.m
    I am creating new tool for as same in textbox, command button, tab control, picture box etc.. but I want small changes in exsiting textbox , command button.... , I will add some properties only , how can I achive using VB6.0

    In this case What I do? please explain me

    Best regards
    P.SASIKUMAR

  4. #4
    Member
    Join Date
    Oct 2006
    Location
    Noida,India
    Posts
    49

    Re: add my properties in existing textbox, how is possible using VB6.0

    Inheritance is not supported in vb6 like in Dot net.you need to write wrapper around existing text box properties and method (Use Active X Ctrl Widzard) and then add your extra properties and method..
    Rajneesh

  5. #5

    Thread Starter
    Member sasikumar1's Avatar
    Join Date
    Nov 2006
    Posts
    56

    Re: add my properties in existing textbox, how is possible using VB6.0

    Thank you Rahneesh

    I will try to your concept and then get back to thread

    Thousands of Thanks]


    By
    SASIKUMAR

Posting Permissions

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



Click Here to Expand Forum to Full Width