Well, here is a way of adding dynamic scrollbars which should work in all OSs.
First, create a form template which has one single object in it, a scrollbar. Use Constructor or whatever. This is the generic and non-dynamic part of the trick. Now whenever you need a scrollbar use FrmAddSpaceForObject() to copy the scrollbar from the form template into your own form. You can resize and reposition the scrollbar using standard Frm... functions. This technique is independent of ALLOW_ACCESS_TO_INTERNALS_OF_FORMS and should work in all OSs which have FrmAddSpaceForObject() [they all do, don't they]. NOTE. This is a theoretical solution and if anyone implements it and it works, please let me know. What I did that I used the generic form to create big forms on-the-fly but I needed the scrollbar in it because that I could not generate it dynamically. The buttons, fields, etc. are not a problem. It works quite well and I love that I have total control. Any suggestions to improve this trick? /Paul [pedit - LapTopHack - pToolSet - superFinderHack] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
