how to add scroll bar to a form[solved]
I have a problem with screen resolutions.
I have made my forms for a resolution with a width of 1024 which is our standard monitor resolution.
But the laptop screen resolution is less. (usage is an exception to the rule but possible) so I want to deal with it.
I have found out how to get the current screen resolution from windows.
When this resolution is less than 1024 I want to add a scroll bar to the bottom of my form so that they can scroll and see the whole form.
I tried to add "Horizontal Only" in the forms "scroll bars" property, but that did not work. I really thought this would. Is this right? if it is what could be preventing it from working.
Can someone please help.
I have a problem with screen resolutions.
I have made my forms for a resolution with a width of 1024 which is our standard monitor resolution.
But the laptop screen resolution is less. (usage is an exception to the rule but possible) so I want to deal with it.
I have found out how to get the current screen resolution from windows.
When this resolution is less than 1024 I want to add a scroll bar to the bottom of my form so that they can scroll and see the whole form.
I tried to add "Horizontal Only" in the forms "scroll bars" property, but that did not work. I really thought this would. Is this right? if it is what could be preventing it from working.
Can someone please help.
Last edited: