Andrew Stirling wrote: > Mike > I have: > Form Init > this.nborderstyle = 3 > this.ScrollBars= 3 > *DODEFAULT() > > Form Activate > IF this.Height + 100 >_vfp.Height &&-100 < this.Height > this.Top = 3 > this.Height = _vfp.Height-110 &&_screen.Height-40 > ENDIF > IF this.width + 60 >_vfp.width &&-50 < this.width > this.Left = 3 > this.width = _vfp.width-50 > ENDIF > > This pops up a scroll bar if the form is bigger than the screen > availability. > Obviously best to put this in your default form class.
Cool. I never designed scrolling forms; heard via here years ago that I thought they were problematic, so I avoided them. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

