In FoxPro, data session window lost - visual-foxpro

Normally, I can use the command "SET" to view the Data Session window. The window doesn't show up anymore, even if I use the menus under Windows -> Data Session. I think I lost the window off the edge of the screen. How can I get it back?

Do this in the command window
SET && make the window active
MOVE WINDOW "View" TO 1,1 && move it to location 1,1

Related

Maximize terminal in VSCode when in side panel

In previous versions of VSCode there was an arrow icon at the top of the panel that could be used to maximize the panel, for instance the terminal. I do not know exactly in which version but that button is now gone and I'm unable to find an equivalent.
My question is: how can I maximize the terminal so it takes the whole VSCode window? Is there any way to get the button back?
Which version of VSCode are you using, and in which OS?
On Mac, and with 1.65.2 (the most recent update by now), I have it in the right corner, near the X button:
Shortcuts
Now talking about shortcuts to make your life easier, there are 2 you should be aware of.
PS: Remember that to change any shortcuts, just go over VSCode Command Palette and type Keyboard Shortcuts to change them.
Maximise panel size
There are no default shortcuts for those, in both Windows and Mac.
If you want to set any, the name of the shortcut is View: Toggle Maximized Panel:
Increasing / decreasing terminal size
Now talking shortcuts, if you want to resize your terminal window, in Mac there's a native shortcut that allows to increase / decrease terminal size with Cmd + Ctrl + Arrow Up / Arrow Down.
There's no default for Windows.
If you want to set / change those shortcuts, they are called Terminal: Resize Terminal Down and Terminal: Resize Terminal Up:
Terminal panel on the side
If you added your panel to either left or right, then the mark to make it fullscreen changes.
After clicking on the arrow below, it'll hide all your files and make the terminal to run in the whole screen for VSCode:
I also got the arrow disappeared, but i manage to bring it back by with command:workbench.action.alignPanelCenter
But i don't know i un align it in the first place
So maybe it will work with you
To get the maximize arrow on the left panel...
Left-click the bottom panel, then choose Move Panel Left
To get the maximize arrow on the bottom panel...
First, press the Customize Layout button
And select Center Panel Alignment
Then move the panel back to the bottom.
Panel can be maximized when centered.
Example: If panel is not centered and the Maximize button is missing you also cannot use the command by hitting
Shift-Ctrl-P View: Toggle Maximize Panel
Fix: run these commands (press Shift-Ctrl-P then begin typing)
First command will enable the maximize button
View: Set Panel alignment to Center
Second command will now work to Maximize (or just press the button that shows up now)
View: Toggle Maximize Panel
Blue and skube have the right answer to the original question. I cannot comment so summarize an answer using commands that can be pasted to verify.

How can I move a window to another session in tmux?

In tmux, how can I move a window from a session to another session?
ex. move window:4 in session [0] to session [4] .
From my testing on tmux 2.6, you'll need two things for the command to move an entire window over:
The name of the session you want to move the window from (for future reference, $session_name)
The index of the window you want to move (in the session it's currently in, of course -- we'll call this $window_index). This is actually optional -- if you omit this, then it defaults to the window in focus in the session you're pulling the window from.
From this point, you can just change to the session you want to move the window into, <tmux-escape>: into a command prompt, and type a command of this form:
move-window -s $session_name[:$window_index]
...where, as noted before, the $window_index is optional (as indicated by the square brackets, which aren't actually part of the syntax
). To use some concrete examples:
# Moves from currently-focused window from session named `$session_name`
move-window -s $session_name
# Moves from window with index `$window_index` from
# session named `$session_name` into the current session
move-window -s $session_name:$window_index
Et voilĂ ! Your window got moved. :)
EDIT: Added some more info on an alternative that omits $window-index.
There's now a built-in shortcut <tmux-escape>. to bring up the move-window command, so it's as easy as <tmux-escape>. <session_name>:<window_index> or to move a window within the same session, omit the session name: <tmux-escape>. <window_index>

PowerShell Opens Off Screen

I changed my monitor configuration, and now PowerShell appears off screen. I moved it back on screen with alt-space > move, but it opens off screen every time. How do I get it to remember its position?
It seems the Window Position options in Properties > Layout did the trick for OP : ).

Form under toolbar, can't get it down

The top of the form container is "up" under the toolbar. I can't find out how to get it down so that I can move the form to different areas on the screen. Using VB6.
Just remove -or rename- the (.vbw) file, that would reset window size & location.. Good luck :)
Edit:
You can also open the file with any text editor and change the form container position (in case you want to maintain the other settings
Click the form then Alt+- (hyphen) to open the MDI child forms default menu, hit M for the Move item and you can use the arrow keys (or mouse iirc) to move it around.

How can I get my console window to appear in a different location?

When I open any console window, be it PowerShell or the Command Prompt, it always appears on the far left side of my left monitor. This is waaay too far from my eyes and where I'd like it to be. It doesn't matter if I drag it to the center or exit or close the window, it always reappears in the bad location.
Is there any way to get it to reliably appear where I left it?
Follow this:-
Open cmd.exe or Powershell.exe
Right Click top frame and select Properties
In the Layout tab, find an option for Window Position
Uncheck Let system position window;
Enter your choice and .... smile :) .....

Resources