QUERYBOX problems

Jan 12, 2014
421
7
Switzerland, SO
At least with v25.00.27 I have the following problems:

Scenario 1:

I use this string with 100 chars:
Code:
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

and open a querybox dialog and use the long string for the "Stichwort" field:

querybox_history-prob1a.png


After press OK, I use the long string for input too ...

querybox_history-prob1b.png


After press OK an entry in command history is generated as following, after I press the arrow up key ...

querybox_history-prob1c.png


But this seems not correct and produces the following error after press Enter ...

querybox_history-prob1d.png


Of course it should be "...%%test1" and NOT "...%test1" at the end of line.


Scenario 2:

After I use even a longer string with 300 chars, the TCC crashes! Of course this is not really a daily scenario - however: it should nevertheless not produce a crash IMHO.
 
Jan 19, 2011
603
14
Norman, OK
QUERYBOX command crashes terminal for /CUE length > 124 even in TCCLE14.
Code:
do i = 123 to 125 ( querybox /cue="%@repeat[x,%i]" "%i" test %%test )
 
  • Like
Reactions: Alpengreis
May 20, 2008
11,287
95
Syracuse, NY, USA
QUERYBOX command crashes terminal for /CUE length > 124 even in TCCLE14.
Code:
do i = 123 to 125 ( querybox /cue="%@repeat[x,%i]" "%i" test %%test )
Yup. When I run that command it crashes the third time and with no fuss, TCC is automatically restarted! Who's doing that restarting and how can I stop it?
 

rconn

Administrator
Staff member
May 14, 2008
12,315
148
RTL bug - fixed in the next build.

However, I cannot conceive of any reason why you would want to have a Cue length of that size. The /CUE prompt is intended to display a reminder of what you should manually enter into the edit control. If you're entering > 127 characters manually, you need to rethink your process. (And the cue prompt will disappear after entering the first character, so you'd better have a really good memory!)
 
  • Like
Reactions: Alpengreis
Jan 12, 2014
421
7
Switzerland, SO
Problem in Scenario 1 (see above) is still present in build 28 ...

EDIT: Sorry, if this is already planned to fix it in a future build!

EDIT2: Tested in v26.00.24 beta (RC4): it's ok now, thank you!
 
Last edited:
Similar threads
Thread starter Title Forum Replies Date
M QUERYBOX /L support seems to only partially work Support 2
T Fixed Querybox issue Support 1
Stefano Piccardi QUERYBOX focus and ALT-TAB switching Support 6
M QueryBox Limitations? Support 18
R querybox & dual monitors Support 5
Charles S. Roaten Problems with TCSTART.BTM Support 1
vefatica Office problems better Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
Peter Murschall CMDebug 26.01.37 has problems with Alias Support 21
C unzip problems Support 2
C TCC 26 BATCOMP BTM problems? Support 5
Alpengreis WAD [v26 Beta RC3]: MSGBOX color problems Support 4
R New Cloud Storage Tab in TCC options causing problems Support 0
Craig Fitzgerald Problems using tcstart.btm Support 3
M Problems with @REGBREAD on remote system Support 4
K_Meinhard Help problems Support 3
S Problems with dir command in the debugger Support 5
D How to? Path problems in TCC20 Support 1
G Version 20.11 installed on Windows 10 problems Support 9
M WAD Set statements in () causes problems Support 8
M Fixed Set "VAR=VAL" format causes problems Support 12
H Problems with PSUBST Support 3
Alpengreis The TCMD Display problems and font size ... Support 2
cgunhouse Problems With IFTP Support 3
Gamegod Fixed TCC identify Chinese problems Support 30
vefatica 21-22 Update problems Support 8
T Problems with the new help format Support 18
cgunhouse Event Plugin Problems With 19.10.43 Support 2
C @replace and @xreplace problems Support 5
Alpengreis Forum problems? Support 0
N Fixed Problems with SHA256/384/512 Support 5
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
P Problems registering Support 5
R Parser problems after build 44 Support 5
LowdhamStation Serial port problems Support 7
vefatica Is jpsoft.com having ISP problems? Support 10
M Problems when being logged in Support 4
vefatica Both IFTP problems remain in build 50 Support 35
vefatica IFTP problems (broken pipe?) Support 24
Joe Caverly VIEW window in a TCC tab window problems Support 5
S Forum Implementation Problems Support 2
S Forum (XenForo) problems Support 3
S Problems to create new threads Support 6
S Fixed CLIPMONITOR problems Support 9
Roedy WAD Minor long-standing install problems Support 6
E Problems with Tabbed Toolbar Support 2
S Log and foldermonitor problems Support 3
vefatica Installation problems Support 1
J Problems for a neophyte Support 30
C Active FTP Problems Support 4

Similar threads