Positioning @SELECT[] popup?

May 20, 2008
11,400
99
Syracuse, NY, USA
How do the top, left, bottom, right parameters work?

These three, in addition to making the window wider, drastically affect where its **left** edge, from approximately the middle of the console window in the first case to just left of the console window's left edge in the third.

And what are the units of those specs?

Code:
%@select[u:\luckydirs.txt,0,60,25,100]

%@select[u:\luckydirs.txt,0,60,25,120]

%@select[u:\luckydirs.txt,0,60,25,140]
 
May 20, 2008
11,400
99
Syracuse, NY, USA
I played around with it more and I still don't understand what's going on. If I do this (cancelling each with Esc):

Code:
do i=0 to 60 (%@select[u:\luckydirs.txt,0,40,25,%@eval[60+%i]])

It works correctly up to i=20; that is I get a window whose left edge is at (about) character 40 (in an 80 char wide console). At this point there's about an inch (10 chars or so) of console to the right of the window (so I figure it can go farther). But from i=21 on, the window gets wider by moving its **left** edge.

What I want is for the window to extend horizontally from the middle of the console to the right edge of the console. That doesn't seem possible.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
popup?

On Thu, 09 Jun 2011 20:08:51 -0400, rconn <> wrote:

|You're using (very, very) old syntax. Instead of using the 4DOS-compatible row/column syntax, use pixel syntax.

That's what I wound up doing, and with satisfactory results.
 
Similar threads
Thread starter Title Forum Replies Date
Jay Sage Positioning of Tabbed Toolbar Support 4
R @select inside alias gives different (insanely small) window Support 7
Joe Caverly Windows Terminal and @SELECT Support 13
WinLanEm @SELECT problem Support 6
T @select and @selectarray issues Support 2
C How to? Select 100 random pictures from 30,000 Support 8
MikeBaas How to? SELECT: exclude files / display prompt Support 2
rps Documentation "Select" command switch order incorrect Support 4
mikea How to? @select[] window size, redux. Support 3
vefatica IDE double-click select? Support 29
gschizas How to? How can I use select with a folder that already contains parentheses? Support 7
T How to? Select and Delete text Support 6
mikea How to? Understanding @select[] Support 2
vhodro How to? Select text Support 10
WavSlave Fixed Escaping out of SELECT sometimes still executes the command Support 2
B Select and run lines from Command Input panel? Support 1
nikbackm Fixed v15: Issue with @select Support 3
G Fixed v15.00.27: @SELECT Support 10
D ini directives and @select example in Help Support 0
ehab aboudaya How to? Copy to clipboard on select Support 5
Phileosophos SELECT command opens additional tab Support 9
S SELECT DEL (*D.DLL) - output curious Support 8
WadeHatler Any way to restore the Text Based "Select File" Windows in TCC Support 2
Stefano Piccardi how to @SELECT redirected input? Support 4
Joe Caverly Error when sorting list alphabetically for @select Support 2
S SELECT - does it support ranges? Support 2
nikbackm @select function and TAB characters Support 1
Joe Caverly @select like 4DOS Support 1
D Can you feed a file list to SELECT? Support 1
A @select versio 10.31 Support 1
nikbackm @select window problem Support 12
vefatica Documentation Documentation of popup location and size Support 4
vefatica Console popup windows don't work correctly Support 0
vefatica Another popup problem Support 10
vefatica Deleting entries in the command history popup? Support 3
M Call History popup-window? Support 0
D How move cursor out of popup edit control after no match? Support 14
F EDIT FIELD in a popup window Support 2
C Msg Popup window does not close Support 8
C order popup windows as /o:gen ? Support 1
L WAD File-popup Window nearly empty Support 6
N Popup Window size too small Support 5
mikea How to? TCC 15: popup windows; launching Perl scripts Support 10
T Selecting line from popup history without executing Support 8
H Beeps in popup windows Support 17
Jay Sage Improved Edit Control for Directory Popup Support 5
R TC13 popup window edit fields Support 8
vefatica Debugger: popup _VARIABLE values Support 1
M Popup directory history Support 10
B "Windows - No Disk Popup" v63 Support 0

Similar threads