Results 1 to 2 of 2

Thread: Reading Data from a Rich Text Box

  1. #1

    Thread Starter
    Hyperactive Member Azz00's Avatar
    Join Date
    Sep 2001
    Location
    Scotland
    Posts
    457

    Reading Data from a Rich Text Box

    Hello again
    Say i had a Rich text Box with this in it.

    float 0.000000, 0.000000, 0.000000 ;vertex 0
    float 0.000000, 0.000000, 0.000000 ;vertex 1
    float 0.000000, 0.000000, 0.000000 ;vertex 2
    float 0.000000, 0.000000, 0.000000 ;vertex 3
    float 0.000000, 0.000000, 0.000000 ;vertex 4
    float 0.000000, 0.000000, 0.000000 ;vertex 5
    float 0.000000, 0.000000, 0.000000 ;vertex 6
    float 0.000000, 0.000000, 0.000000 ;vertex 7

    How could i make my app Read 4 lines at a time

    and get thoes 0.00000 Values and store them as say
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L

    ? then my app would do some calculations with thoes values ?

    how can i do that ?
    www.azzmedia.co.uk

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    is the length of the 0.00000 always the same?

    how many lines will be in the textbox?

    will it go above 9? (so that it has 10 on the end..therefore increasing the number of chars)
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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