×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    Display text on Canvas other than drawString

    Hi, does anyone else know how to append text such as help instructions onto a canvas other than using the drawString method. I have created a program so that when a command is pressed help information from an external file (held in the jar) is read and displays as text. I have found that using the draw string method i cannot display all the text as text wrapping is not supported. Does anyone know of an alternative way of displaying text on a canvas that does not use a Form or Alert or a way you can wrap text on the canvas using the drawString

    Thanks

    sengaste

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    35
    I guess you could write your own function that will drawString char by char keeping count of how mush it has written and wrap when necessary. otherwise I haven't seen a way of doing it apart from in a Form.

Posting Permissions

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