gettingstarted
[Top] [All Lists]

Help! TextField with MultiLine

To: gettingstarted at lists dot realsoftware dot com
Subject: Help! TextField with MultiLine
From: Betsy Raymond <braymond at emf dot net>
Date: Wed, 23 Feb 2005 18:22:29 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
Hello,

I am new to programming, hence to REALbasic and this List.  (So much to do, so 
little time!)  I am using a Mac, running OS X 10.3.7, and  REALbasic 5.5.4 Mac 
OS X.

I have started working on the Tutorial and find I cannot even get past the 
second chapter.  I am having a problem with TextWindow/TextField/MultiLine 
property/scroll bars.  The following is as precise a description of the problem 
as I can make it.  (Sorry about the length.)  

After I create the TexttField and resize it by dragging its "resizing 
handle...close to the resizing handle of the TextWindow," the Tutorial 
instructs me to align the right side of the TextWindow with the right side of 
the TextField by dragging the resizing handle of the TextWindow.  The Tutorial 
DOES NOT SPECIFY what to do with regard to the BOTTOM edge of the TextWindow.  
I am told, however, that "the window should now look as shown in Figure 11 (the 
TextWindow after resizing)."  In order for the window to "now look as shown in 
Figure 11," the missing instruction would HAVE to be "and align the bottom edge 
of the TextWindow with the bottom edge of the TextField."

The next Tutorial instruction is to assign the MultiLIne property to the 
TextField.  When this has been done, a vertical scroll bar appears at the right 
hand side of the TextField; HOWEVER, the bottom quarter inch or so of this 
scroll bar is covered up by the TextWindow resizing handle.  This continues to 
be the case when debugging/running.  I have no way of knowing for certain what 
the result of this step is meant to be, because the only picture provided is 
for Windows OS, but I find it hard to believe that the intention is for the 
scroll bar to be partially hidden by the resizing handle.

IF I disregard Figure 11 and align the top of the TextWindow resizing handle 
with the bottom of the TextField in order to make the entire vertical scroll 
bar visible, then when I run the debugger the window which opens is 
predominantly white, its right hand side has the "finished" shaded/curved look 
of a typical Mac application, but its bottom quarter inch consists of the 
TextWindow's flat grey plus the hard bright blue line used to demarcate the 
TextField when the TextField is selected in the Window Editor.  Since this 
looks pretty bad, I am assuming that it's not what is intended.  My guess 
(hope) is that the window should actually resemble something more like 
REALbasic's Source Code editing window.

I have now spent literally hours trying to figure this out (rereading and 
redoing, wondering which little instruction I have somehow overlooked, guessing 
what the Tutorial "really" means, trying "that" instead of "this" or in 
addition to "this," digging through huge, incomprehensible (to me) manuals 
hoping to find anything that seems relevant, and so on, to say nothing of the 
time it has taken to write this e-mail).  I find this disconcerting and 
discouraging.  I can't help wondering--if I've barely started and it's this 
difficult to do something so seemingly simple, what's going to happen when I 
actually try something challenging?

Thanks for any help and/or insight.  I would be especially grateful if someone 
could just tell me how to get a TextField with a MultiLine property to both 
work right and look good!! 



 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>