John:

Just run this snippet of code in your start up file:

 

SET VAR vmydir = ('''' + 'Dir: ' + (CVAL('CURRDIR'))+ '''')

PROPERTY APPLICATION TITLE &vmydir

RETURN

 

You can of course change the caption to be anything you want, if you just want to use the directory name then use:

 

SET VAR vmydir = (CVAL('CURRDIR'))

PROPERTY APPLICATION TITLE &vmydir

RETURN

 

Every time that you start R:Base from a different directory, each instance will display the starting directory name on the caption at the bottom of the screen. I hope this is what you were looking for…

Javier,

 

Javier Valencia, PE

President

Valencia Technology Group, L.L.C.

14315 S. Twilight Ln, Suite #14

Olathe, Kansas 66062-4578

Office (913)829-0888

Fax (913)649-2904

Cell (913)915-3137

================================================

Attention:

The information contained in this message and or attachments is intended

only for the person or entity to which it is addressed and may contain

confidential and/or privileged material.  Any review, retransmission,

dissemination or other use of, or taking of any action in reliance upon,

this information by persons or entities other than the intended recipient

is prohibited. If you received this in error, please contact the sender and

delete the material from all system and destroy all copies.

======================================================

 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of John Docherty
Sent: Wednesday, February 23, 2005 4:11 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Changing the RBASE caption

 

As I often use multiple versions of RBASE from the R>, with the same database name, but running from different directories, it would be useful to be able to change the caption to tell me not only the name of the database, but also the directory. While I can do this when running an application, using the Property command etc I was wondering if the same can be done in the ‘normal’ RBASE environment.

 

Currently the caption tells me the database name [connected: est] and the component I am using [R> Prompt] etc.  Is there a way that this can be easily configured to add (CVAL('CURRDIR')) to this ? 

 

Thank you.

 

Regards,

 

John Docherty


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.306 / Virus Database: 266.4.0 - Release Date: 22/02/2005

Reply via email to