I was beginning to suspect this is how it works... well, I guess that
answers the question.

Thanks,
Pete

> -----Original Message-----
> From: Scott L. Johnson [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 02, 2000 10:05 AM
> To:   Palm Developer Forum
> Subject:      RE: Scrollbars in Constructor
> 
> > From: Ford, Peter [mailto:[EMAIL PROTECTED]]
> > I can place a scrollbar on the form where I want it, all I need
> > to do is tell Constructor to bind the scrollbar to the field.
> 
> It doesn't work that way.  In Constructor you can only place the scrollbar
> where you want it, and then you need to write some glue code in your app
> to
> "bind" the scrollbar and the field.  There is no automatic scrollbar
> behavior for fields, such as there is in Windows.  See the Memo Pad source
> to see how to implement all this.
> 
> > There's a "Has scroll bar" checkbox on the Field layout properties 
> > screen, but it doesn't seem to do anything and there's no obvious way 
> > to identify which scrollbar it should be using.
> 
> That property really just tells the field to fire off more fldChanged
> events
> than it otherwise would, which your own code must handle to update the
> scrollbar when the user navigates around in the field.
> 
> (The OS source is really valuable for understanding this stuff.)
> 
> This all can be a pain but is actually very flexible.  Suppose you wanted
> a
> field to be full screen width and do scrolling with little arrow buttons
> elsewhere on the screen, instead of with a scrollbar on the side.  You
> could
> implement it using mostly the same code.
> 
> -slj-
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to