Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: LArge form on small screen (via RDP)



Permlink Replies: 2 - Last Post: Mar 27, 2018 11:17 PM Last Post By: Peter Below
Lou Feliz

Posts: 114
Registered: 7/16/97
LArge form on small screen (via RDP)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 27, 2018 11:53 AM
I am posting this here after being redirected. :)

I have a large form with tabs and had situation where a large form viewed on small screen or via a smaller RDP session, and no scrolling.

I tried using a scroll box, but it only scrolls when not aligned (Partially if alligned). What is best method to get Scroll bars to be visible on a form Vert/Horiz?

Not so much interested in scaling the form as I am in having scrolls show up.

Thanks.

Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: LArge form on small screen (via RDP)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 27, 2018 1:03 PM   in response to: Lou Feliz in response to: Lou Feliz
El 27/03/2018 a las 20:53, Lou Feliz escribió:
I am posting this here after being redirected. :)

I have a large form with tabs and had situation where a large form viewed on small screen or via a smaller RDP session, and no scrolling.

I tried using a scroll box, but it only scrolls when not aligned (Partially if alligned). What is best method to get Scroll bars to be visible on a form Vert/Horiz?

Not so much interested in scaling the form as I am in having scrolls show up.

Thanks.

Set the Form's AutoScroll property to True.

BorderStyle property must be bsSizeable or bsSizeToolWin

Edited by: Antonio Estevez on Mar 27, 2018 1:09 PM

Peter Below

Posts: 1,227
Registered: 12/16/99
Re: LArge form on small screen (via RDP)
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 27, 2018 11:17 PM   in response to: Lou Feliz in response to: Lou Feliz
Lou Feliz wrote:

I am posting this here after being redirected. :)

I have a large form with tabs and had situation where a large form
viewed on small screen or via a smaller RDP session, and no scrolling.

I tried using a scroll box, but it only scrolls when not aligned
(Partially if alligned). What is best method to get Scroll bars to be
visible on a form Vert/Horiz?


Test if the available screen size is smaller than your form
(Screen.Workarearect and related properties of the screen object tell
you that). If so, set the formstate to wsMaximized. Unless you use
Align to adjust the control sizes to the form size this will get you
scrollbars.

--
Peter Below
TeamB

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02