Oh sure, wave the cape at the bull ... -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley Sent: Wednesday, May 29, 2013 12:35 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Pause Command: Window Width
It already works with RBase as is. Read my second response. You can tailor it to your own needs. If you want it stupidly simple, then wrap it up in a stored procedure of your own, to use as you like. You can have it done before RBTI can generate the enhancement, even though they are faster than greased lightening... ;-) ----- Original Message ----- From: "Bruce A. Chitiea" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Wednesday, May 29, 2013 3:27 PM Subject: [RBASE-L] - Re: Pause Command: Window Width : Lena/Javier/Albert/Alastair/Mike: : : Awesome response. Clearly, it's the pause that refreshes ... too narrowly. : : I'll submit an enhancement request for a PAUSE option along the lines of: : : OPTION CAPTION_STRETCH ON : : Thanks very much : : Bruce : : -----Original Message----- : From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley : Sent: Wednesday, May 29, 2013 11:07 AM : To: RBASE-L Mailing List : Subject: [RBASE-L] - Re: Pause Command: Window Width : : Try This: : : IF (Chkfunc('MessageBox')) = 0 THEN : -- MsgTYPE , Caption text, MsgString, WndHandle of Parent : STDCALL Function 'MessageBoxA' alias 'MessageBox' + : (INTEGER, PTR TEXT (128), PTR TEXT, INTEGER ) : INTEGER ENDIF SET VAR : vCaption TEXT = 'Test Message Box Caption With An Impossibly Long Caption : That Runs Almost All Across The Screen' : SET VAR vMsg TEXT = ('ShortMessage') : SET VAR viRes = (DLCALL('User32', 'MessageBoxA', 49, vCaption, vMsg, 0)) : RETURN : : : ----- Original Message ----- : From: "Bruce A. Chitiea" <[email protected]> : To: "RBASE-L Mailing List" <[email protected]> : Sent: Wednesday, May 29, 2013 11:46 AM : Subject: [RBASE-L] - Pause Command: Window Width : : :: :: :: All: :: :: :: :: Rbase e9.5(64) su :: :: Win 7 pro :: :: :: :: The following representative PAUSE command: :: :: :: :: PAUSE 2 USING 'Blah Blah' + :: :: CAPTION 'Who writes captions this long??' :: :: :: :: .sizes the PAUSE window for the short message, truncating the caption. :: :: :: :: The same message with the width parameter: :: :: :: :: PAUSE 2 USING 'Blah Blah' =50 + :: :: CAPTION 'Who writes captions this long??' :: :: :: :: .produces the same result, if for no other reason than that there's : nothing :: to wrap. :: :: :: :: No difference if the message and caption are fed through variables. :: :: :: :: Thoughts? :: :: :: :: Bruce Chitiea :: :: SafeSectors, Inc. :: :: eCondoMetrics :: :: : :

