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

Ask a Question related to Mac Programming, Design and Development.

  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. Similar Questions and Discussions

    1. Dialog Box Too Large for Screen
      Hi Everyone, When using PSE Version 2 and I suspect PS Album on PCs set for 800x600 screen resolution, the dialog box from selecting File > Print...
    2. large amount of data and low efficiency
      hi? we are trying to show a large amount of data selected from database(about 1000 records) in the mxml page. But we found it is very slow(about...
    3. working with large amount of text
      I am working with a large amount of text ( abound 9 pages word ), and flash became really slow . Is that anyway that I can compress text or made it...
    4. split large amount of data for loading
      Hi, I have a large amount of data (> 550.000 rows) to load which leads to problems with the transaction protocol. All the rows are compromised in...
    5. Performance issue while loading large amount of data
      Hello I am supposed to load large amount of data from SQL scripts and I have been wondering what is the best option: -frequent commits and no...
  3. #2

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

    In article <4a227e71.0309240548.2aaf7f86@posting.google.com >,
    [email]sarshah20@yahoo.com[/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

Posting Permissions

  • You may not post new threads
  • You may 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