Jump to content
Macro Express Forums

Changing/modifying Title Bar


patgenn123

Recommended Posts

Hello,

 

I wanted to know whether or not ANY title bar(Window Title Bar) can be changed?

 

What I am trying to do is work within a database that does not have the customer's name on the title bar rather it has the name of the software program, but I want to change it to reflect the customer's last name on it.

 

I would think I would want to use variable set string from window title to do it.

 

CAN ANY TITLE BAR BE MODIFIED? Can some software programs not allow thisto happen? If it can be modified, how?

 

Thanks!

 

Pat

Link to comment
Share on other sites

Seems to me it's not going to be possible exactly as you describe, because the window title is a function of the program, and differs widely.

 

For example, if I put data for John Brown in a text file and save it as 'John Brown.txt' with my text editor, TextPad, the window title is always prefixed by 'WorkspaceBasic1 - TextPad - ', and it has the full path added in square brackets. So the full title is

WorkspaceBasic1 - TextPad - [D:\Docs\SUNDRY\Macro Express\John Brown.txt]

 

If I did the same for Mary Smith using Notepad, the window title is always suffixed by '- Notepad', and the full title becomes

Mary Smith.txt - Notepad

 

But, of course, if the name is at a fixed (or reliably located) position within the file, then you could write a macro to get the surname into the title. Just not as the full title.

 

Given the number of Browns and Smiths, that's probably a good thing, to avoid inevitable ambiguity ;-)

 

--

Terry, West Sussex, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...