Results 1 to 2 of 2

Thread: adding values to controls loaded at run-time

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    adding values to controls loaded at run-time

    I am loading some line controls at run-time, and each time l load a line a need to assign a value to it. So l can have a label next to the line showing the value that the line represents. The values themselves are user input values, so they could represent any integer value.

    Many thanks in advance
    steve

  2. #2
    jim mcnamara
    Guest
    Use the .Tag property of the line control to store information

    Code:
    Line21.Tag = Text1.Text
    .........
    
    lblLine21.Caption = Line21.Tag
    It'd be better if they were in an array....

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