Professional Web Applications Themes

How to display large amount of text in a dialog box? - Mac Programming

Hi, My application has a movable modal dialog box. I want to display a large amount of text (approx 3 pages) in the dialog box which (text) is not editable. It is much like license agreement dialog boxes that commonly appear in installers. How can i do this. What controls i need to use. Since the size of dialog box is not big enough to show three pages of text, how can i make the text scroll. I am using codewarrior on Mac OS 9.1 and i have created the dialog resource using Constructor. I have read the already posted ...

  1. #1

    Default How to display large amount of text in a dialog box?

    Hi,
    My application has a movable modal dialog box. I want to display a
    large amount of text (approx 3 pages)

    in the dialog box which (text) is not editable. It is much like
    license agreement dialog boxes that

    commonly appear in installers. How can i do this. What controls i need
    to use. Since the size of dialog

    box is not big enough to show three pages of text, how can i make the
    text scroll. I am using

    codewarrior on Mac OS 9.1 and i have created the dialog resource using
    Constructor. I have read the

    already posted messages on this list having similar topics but since i
    am relatively new to the Mac

    arena therefore they were a bit too advance for a novice like me to
    comprehend. I would really

    appreciate some sample code or a link leading to one.

    Thanks
    Ali
    Ali Raza Guest

  2. #2

    Default Re: How to display large amount of text in a dialog box?

    In article <4a227e71.0309240548.2aaf7f86posting.google.com >,
    [email]sarshah20[/email] (Ali Raza) wrote:
    > commonly appear in installers. How can i do this. What controls i need
    > to use. Since the size of dialog
    >
    > box is not big enough to show three pages of text, how can i make the
    > text scroll. I am using
    It's always a good idea to search the headers:

    In <ControlDefinitions.h> there's a scrolling text box control
    (sometimes also referred to as a scrolling about box). It uses TextEdit,
    though, which means your text may not be over 32k (but 3 pages is
    usually less -- I have a story of 10 DIN A4 pages that is roughly 40k).

    If you need more text or selectable text, you'll have to go for either
    MLTE (which isn't really a control, but also supports scrolling) or a
    third-party package like WASTE (I think there are WASTE controls
    floating around the web in spades).

    HTH,
    -- Uli
    [url]http://www.zathras.de[/url]
    Uli Kusterer Guest

Similar Threads

  1. Dialog Box Too Large for Screen
    By Don Stouder in forum Adobe Photoshop Elements
    Replies: 5
    Last Post: December 10th, 04:03 AM
  2. large amount of data and low efficiency
    By Twiggiest in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: October 31st, 05:30 PM
  3. working with large amount of text
    By Zeus : Master of PC ! in forum Macromedia Flash Sitedesign
    Replies: 4
    Last Post: April 14th, 01:59 AM
  4. split large amount of data for loading
    By Toralf Kirsten in forum IBM DB2
    Replies: 3
    Last Post: August 23rd, 04:26 PM
  5. Replies: 4
    Last Post: January 13th, 01:58 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139