At 05:00 PM 10/20/2011, John Docherty wrote:

I run the following in my RBASE.DAT file to allow me to name the session (if
I want to when running multiple versions of R:Base) - it also adds the
current directory to help avoid confusion - the name & directory then
appears on the taskbar - it would be very useful if this name was also to
appear above the R>.

CLS
CLEAR VAR vapp
DIALOG 'APP Name' vapp=26 vendkey 1 +
CAPTION 'APP Name' +
ICON APP
CLEAR VAR vlen
SET VAR vlen=(SLEN(.vapp))
SET VAR vtitle=''
IF vlen>0 THEN
  SET VAR vtitle=.vapp
ENDIF
SET DELIMIT=NULL
SET DELIMIT=,
SET VAR vdir=(CVAL('CURRDIR'))
SET VAR vapp=(.vtitle & .vdir)
PROPERTY application TITLE .vapp
RETURN

John,

If by "appear above the R>", you mean you wish the R:BASE caption can be
changed, you can use the SET CAPTION setting to do just that.

  SET CAPTION 'TEST ENVIRONMENT'

The R:BASE program window caption will then read "TEST ENVIRONMENT" until
the program is restarted.

Best regards,

John Minyo II
R:BASE Technologies, Inc.
Customer Service

Reply via email to