gettingstarted
[Top] [All Lists]

Re: Help! TextField with MultiLine

To: REALbasic Getting Started List <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Help! TextField with MultiLine
From: Paul Goodrich <paul at zonestation dot com>
Date: Wed, 23 Feb 2005 19:31:15 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
on 2/23/05 6:22 PM, Betsy Raymond wrote:

> 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.

Welcome.  You are in for a lot of fun. :-)

> 
> 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."

Creating windows step 3, is this what you see:

3. Now, drag the exposed (lower right) resizing handle of the TextField to
the bottomright corner of the window, until it is close to the resizing
handle of TextWindow.

Note: close but not covering it up.  It should snap several pixels above the
widget...

If this widget doesn¹t show, check the growicon in the windows properties.

> 
> 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.

It's not.  You need to make sure it does not cover up the widget in the
lower right corner...

> 
> 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.

Uncheck the UseFocusRing in the properties for the text field.  And also
make sure you sized the textfield all the way to the right.

If this is not in the tutorial, it probably should be.  As a new person
wouldn¹t know this.

> 
> 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.  

Don't be discouraged, and keep on going through all the tutorials and
resources that are out there for RB and there are a ton.  It will all start
to fall in place and make sense.

> 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?

RB is a big language and there is a ton you can do with it.  But the cool
thing is that you can learn the part you need to for whatever project you
are working on.  Whenever I start a new project that goes into areas I don't
know, there is always resources available to help guide me through it.

If you find a error in the manual, please report it via the feedback section
of the website.  I have come across a few and if you report them they
usually get taken care of...

Regards,

Paul


_______________________________________________
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>