Anyone who has spent some time with the Visual Basic have been confronted sooner or later following problem: one day, that too without knowing why, you lose the natural disposition of the VBE (Visual Basic Editor) where it was on the left, the project window on top and in the properties window bottom right, the VBA code.
You are then for example in the following situation:
You trusting what the books say and the help of Microsoft, you can blandly try to click right in the body (not the title!) of the Project window and select "Dockable". In this case, either (1) you're lucky and the block fits on the left, or (2) you have bad luck and part block is horizontally above, or (3) the window moves without fit on a board.
In case 2, double click on the banner of the window to make non-contiguous to an edge, as in the case 3.
In cases 2 and 3, reduce this to the VBE window in case it would be full screen. Then select the window frame by grasping its title banner and move toward the edge where you want to dock it. The window is represented by a frame with a thick gray line when moving.
when you move the window towards the edge of the top, you'll see at some point the thick border of the window become dotted line end with a horizontal rectangle. If you release the mouse button at this point, the window will be docked horizontally.
However, if you move the window the same way to the left edge, you will at some point a vertical rectangle dotted end, and releasing the button, then you will anchor the window vertically. It is the goal we wanted to achieve:)
Note 1 - had to VBE window is not full screen so you can go beyond the left edge of the window at least half of width of the store window to see the show end border. This is the trap that all those who tried in vain to reframe the VBE windows fell when - like me - they were full screen, hoping to "see better" what was happening.
Note 2 - All these problems could have been avoided if Microsoft had thought of creating two commands - Anchorage Anchorage horizontal and vertical - instead of a single control ... Or had they simply defined the anchor by default being vertical, which would have been smarter still ... Who indeed would want to anchor the windows horizontally?
0 comments:
Post a Comment