Please help with Title bar - Naming ?!?!

Jenie888

Member
We have recently created a testing environment up for all of our programs. We program in a delopment database then when we are finished with our task we transfer it to the live version of the product. I want to be able to distinguish between the live UIB and the Development UIB. Is there a way to re-name the title base on the UIB and Desktop screens?

Jenifer
 
If I understand you correctly, you just want to change the titles of the Desktop and Appbuilder windows?

To do this, you can use the _adeevnt.p procedure that comes with Progress. First, you'll need to extract it from the adecomm.pl library, in the Src directory of your Progress installation. This is a procedure that is run by Appbuilder when certain events occur. For example, startup, shutdown, or opening, saving or closing a procedure file.

Full instructions are contained within the procedure and you will be able to use the 'Startup' event to launch your procedure that changes the titles. To change the titles, you can use the SESSION:FIRST-CHILD and SESSION:NEXT-SIBLING handles to search for the desktop and Appbuilder windows. Once you have the window handle, you can change the title easily.

For the modified _adeevnt.p procedure, you'll need to place it somewhere that Progress can reach it. It needs to be placed into a folder called 'adecomm'. If you create that folder in say, your working directory, then Appbuilder will run your version instead of its own.
 
Top