Screen Resolution Problem
Author |
Message |
Bo #1 / 9
|
 Screen Resolution Problem
Hi, I wrote an app on my computer where the resolution is set to 1024 x 768. A big mistake on my part. Now all the users that have 800 x 600 resolution cannot see the bottom of a couple of forms. I use VB6, and I thought that even though they won't be able to see the form completely like you can at 1024 x 768, they should have scroll bars enabled on the form to see the rest of it. This is not the case, and the form is completely cut off at the bottom. My question is, how can I make scroll bars appear so they can see the rest of the form, or is their an easier way for the user to see the form rather than writing a lot of resizing code? This is a temporary program, and I don't want to spend too much time on it. Thanks in advance, Bob
|
Sat, 31 Jan 2004 06:18:53 GMT |
|
 |
adpx #2 / 9
|
 Screen Resolution Problem
Bob, VB forms don't provide viewport scrollbars. You'll need to create a viewport yourself--using nested frames, 3rd-party viewport controls, etc. If your app is a throwawaay and you're not concerned with aesthetics (or usability), simply turn it into an MDI app, and make the forms you want to show MDI children. --A
|
Sat, 31 Jan 2004 06:24:03 GMT |
|
 |
Erik #3 / 9
|
 Screen Resolution Problem
Quote: > My question is, how can I make scroll bars appear so they can see the > rest of the form, or is their an easier way for the user to see the > form rather than writing a lot of resizing code?
On my opinion, resizing code works allright, and it is written in a few minutes. You only have to put something like form1.width = screen.width form1.height = screen.height in your load-section, together with resizing info of the other elements. If you still think it too much, you can think of creating a template module for resizing code. You can use it in lot's of programs you create. I've done so, because my experience with it is good. You can completely set everything to your wishes, and it works great. I ain't see the problem. Erik
|
Sun, 01 Feb 2004 04:13:18 GMT |
|
 |
Billy Jo #4 / 9
|
 Screen Resolution Problem
If it's a "temporary" program, ignore it! If it's something the user happens to think is important and they know who wrote it, invest some time in learning for the possible next effort! Others have written, will write, good answers to your dilemma. If you still need help and want to invest some really valuable time, try a quick search at http://www.*-*-*.com/ comp.lang.basic.visual.misc which should get you to Google's search of this group (assuming the newsreader did not{*filter*}up the URL). Regards, Billy Joe
Hi, I wrote an app on my computer where the resolution is set to 1024 x 768. A big mistake on my part. Now all the users that have 800 x 600 resolution cannot see the bottom of a couple of forms. I use VB6, and I thought that even though they won't be able to see the form completely like you can at 1024 x 768, they should have scroll bars enabled on the form to see the rest of it. This is not the case, and the form is completely cut off at the bottom. My question is, how can I make scroll bars appear so they can see the rest of the form, or is their an easier way for the user to see the form rather than writing a lot of resizing code? This is a temporary program, and I don't want to spend too much time on it. Thanks in advance, Bob
|
Sun, 01 Feb 2004 13:05:00 GMT |
|
 |
Raz #5 / 9
|
 Screen Resolution Problem
Quick question about resizing - I've seen a program with a window, that when you try to resize it, the gray lines which move with the mouse, won't extend past a certain size. How is this done? I know it's possible to re-shrink after the size has been made, but how do you stop them as they resize? Anyone?? Thanks in advance, zRaze
Quote: >> My question is, how can I make scroll bars appear so they can see the >> rest of the form, or is their an easier way for the user to see the >> form rather than writing a lot of resizing code? >On my opinion, resizing code works allright, and it is written in a few >minutes. You only have to put something like >form1.width = screen.width >form1.height = screen.height > in your load-section, together with resizing info of the other elements. If >you still think it too much, you can think of creating a template module for >resizing code. You can use it in lot's of programs you create. I've done so, >because my experience with it is good. You can completely set everything to >your wishes, and it works great. I ain't see the problem. >Erik
|
Mon, 02 Feb 2004 22:44:02 GMT |
|
 |
Ian William #6 / 9
|
 Screen Resolution Problem
For a standalone form see Randy Birch's site, http://www.mvps.org/vbnet/ and search for MINMAXINFO For MDI forms go to my Tips & Tricks | Code Library | VB(A) Code | Using SubClassing to limit the size of MDI Child forms regards Ian ** invalid email address, change dk to denmark homepage http://www.kingsoft-denmark.com/ Tips & Tricks page http://tips.kingsoft-denmark.com/
Quote: > Quick question about resizing - > I've seen a program with a window, that when you try to resize it, the > gray lines which move with the mouse, won't extend past a certain > size. How is this done? > I know it's possible to re-shrink after the size has been made, but > how do you stop them as they resize? > Anyone?? > Thanks in advance,
|
Tue, 03 Feb 2004 00:04:22 GMT |
|
 |
Michael William #7 / 9
|
 Screen Resolution Problem
I see Ian has already given you the answer to your question, so I would just like to ask you why you are still "living" with those "bounding box" lines when you resize windows. Surely your computer isn't that slow! Go to Control Panel / Display / Effects (or wherever it is on your system) and tick the box against "Show window contents whilst dragging". It gives a much more pleasing effect. Mike
Quote: > Quick question about resizing - > I've seen a program with a window, that when you try to resize it, the > gray lines which move with the mouse, won't extend past a certain > size. How is this done? > I know it's possible to re-shrink after the size has been made, but > how do you stop them as they resize? > Anyone?? > Thanks in advance, > zRaze
> >> My question is, how can I make scroll bars appear so they can see the > >> rest of the form, or is their an easier way for the user to see the > >> form rather than writing a lot of resizing code? > >On my opinion, resizing code works allright, and it is written in a few > >minutes. You only have to put something like > >form1.width = screen.width > >form1.height = screen.height > > in your load-section, together with resizing info of the other elements. If > >you still think it too much, you can think of creating a template module for > >resizing code. You can use it in lot's of programs you create. I've done so, > >because my experience with it is good. You can completely set everything to > >your wishes, and it works great. I ain't see the problem. > >Erik
|
Tue, 03 Feb 2004 06:02:55 GMT |
|
 |
Hugh Laderma #8 / 9
|
 Screen Resolution Problem
Quote: > Go to Control > Panel / Display / Effects (or wherever it is on your system) and tick the > box against "Show window contents whilst dragging". It gives a much more > pleasing effect. > Mike
Are you sure it says "whilst" ? Does that wording change based on locale settings ? Or do you have some kind of special Shakespeare Windows installed ? <g>
|
Tue, 03 Feb 2004 06:26:06 GMT |
|
 |
Michael William #9 / 9
|
 Screen Resolution Problem
Yes. I have Windows 1698 ;-) Mike
Quote:
> > Go to Control > > Panel / Display / Effects (or wherever it is on your system) and tick the > > box against "Show window contents whilst dragging". It gives a much more > > pleasing effect. > > Mike > Are you sure it says "whilst" ? Does that wording change based on locale > settings ? Or do you have some kind of special Shakespeare Windows installed > ? <g>
|
Tue, 03 Feb 2004 06:56:56 GMT |
|
|
|