Results 1 to 6 of 6

Thread: Displays

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Singapore
    Posts
    98
    Hi guys,
    Lets say i need to display a few fields onto a text box and i have about 50 of them. How do i code the page up/down button.

    E.g

    Name Tel Address
    jax 5454545 JHashdkjsdhkjsdhfkj
    lax 5465444 dfgksdiogpdiogpoigpo


    PageDown PageUp


  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Not sure what the question is?
    PageUp/Down Button.
    What exactly are you after?
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Addicted Member
    Join Date
    Sep 2000
    Posts
    138
    Perhaps he means this:

    Code:
    -------------------------------------
    Dim i As Integer
    'With Text1.Multiline = True preset
    With rs
    .MoveFirst
    For i = 0 To 49 ' "50 of them"
    Text1.Text = Text1.Text & .Fields(ˇ°Nameˇ±) & .Fields(ˇ°Telˇ±) & .Fields(ˇ°Addressˇ±) & Chr$(10) & Chr$(13)
    .MoveNext
    If .Eof Then Exit For
    Next i
    End With
    -------------------------------------
    IHailJoe


    [Edited by xmin on 10-28-2000 at 11:35 AM]

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Singapore
    Posts
    98
    Thanks but my questions are still not answered.

    If i only want to display 10 of them at a time out of the total number(this number is not hardcoded)

    How would i proceed abt making the page up and down buttons now?

  5. #5
    Addicted Member
    Join Date
    Sep 2000
    Posts
    138
    You don't have to code the page up and down buttons. Just set Text1.Multiline = True (and the Scrollbar property) in designing and you can use the buttons.

  6. #6
    Addicted Member
    Join Date
    Sep 2000
    Posts
    138
    Or you mean to code the buttons so that the text in the textbox scrolls automatically? If so I can not answer that.

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