Split-Screen Editing 
Author Message
 Split-Screen Editing

Not that this is real "news", especially to those "gurus" out there, but this
was an amazing discovery (that I found by accident) that perhaps other VB
users might find handy . . .

Of course, it's obvious that you can have the "code" of 2 different forms
open for editing at the same time; you can size each window independantly,
place them side-by-side or one-over-the-other or cascaded, etc. and then
you can "cut and paste" between them . . . great for "borrowing code" from
one form and placing it into another . . .

BUT

Did you know that when editing the code of 1 form (e.g. your Form_Load event)
you can create a horizontally-divided split-screen editing window, with
each window pointing to a different procedure within THAT form?  I didn't
realize you could do THAT!  I don't recall seeing it in any of the FMs!
I stumbled upon it when I noticed that at the top of the screen (where the
grey control bar (with the pull-downs for the module selections) meets the
editing window) if I flew the mouse over that dividing line, the cursor changed
to an up/down arrow and a horizontal line between them . . . holding down the
mouse button and pulling-down caused it to do a slit screen, with two code
windows above/below each other.  Click in one window, and procedure#1
(whatever you select) is edited, click in the other, and procedure#2 (whatever
you select) is edited.  The procedure select pull-downs at the top of the
screen will show you which procedure you are editing.  This is REALLY handy
for "borrowing code" from one procedure to another within the SAME form!

Am I just "dense", or did every other newbie out there spot this already?



Tue, 27 May 1997 01:35:14 GMT  
 Split-Screen Editing

: Did you know that when editing the code of 1 form (e.g. your Form_Load event)
: you can create a horizontally-divided split-screen editing window, with
: each window pointing to a different procedure within THAT form?  I didn't
: realize you could do THAT!  I don't recall seeing it in any of the FMs!

: Am I just "dense", or did every other newbie out there spot this already?

No, you're not dense.  You've just completed one of the many minor
rights of passage in VB.  One of your first Ah-Hah! events.

Enjoy the moment while you can.  There are many other surprises
in store for you; not all of them pleasant.

What VB giveth, VB also taketh away.

Robert Wallace



Tue, 27 May 1997 03:54:01 GMT  
 Split-Screen Editing


Quote:
>No, you're not dense.  You've just completed one of the many minor
>rights of passage in VB.  One of your first Ah-Hah! events.

>Enjoy the moment while you can.  There are many other surprises
>in store for you; not all of them pleasant.

...You can say that again!  Then you buy a third party Custom Control and
the growing pains start all over again!

John



Tue, 27 May 1997 08:38:50 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Outlook 2000 & split screens

2. How do programmatically remove the split screen

3. IDE Split Screen

4. how to "split screen"

5. How to "split screen"

6. Split Editor Screen?

7. splitting a screen

8. Split screen

9. Split screen

10. Split Screens

11. Split screen in 3 sections

12. Loking for split screen control/idea (free?)

 

 
Powered by phpBB® Forum Software