Modifying application title for CHUI -$appltitle doesnt work

Author: lalitpct@gmail.com (lalitpct)

The $appltitle function has effect only when the application is using a GUI driver. In case we want to change in CHUI how we can do that?

 

9 Comments

  1. Where do you think on a CHUI screen an apptitle should apper???

    You see it in GUI on the WINDOWS caption and the task bar.

    Both do not exist in CHUI


    Author: ulrich-merkel (ulrichmerkel@web.de)

  2. actually we have 2 version running parallel 8.4 and 9.4  CHUI..sometimes we are unable to differentiate which envionment we are running.
    Is there anyway to differentieate the environment ...anything like putting something on border


    Author: lalitpct (lalitpct@gmail.com)
  3. a long long time ago (uniface 5), some customers standard layouts included a field in the header frame to display the application name or version info.


    Author: ulrich-merkel (ulrichmerkel@web.de)
  4. U mean change should be in all the forms ?


    Author: lalitpct (lalitpct@gmail.com)
  5. Hi,

    what about having a little help form, which is called by F1 e.g.

    You can modify you User-Keys and the APP-Trigger to call this form, wich can display infos like $about

    Best regards

    Thomas


    Author: Thomas.Young (thomas.young@young-consulting.de)
  6. Hi Lalit,

    If you want an always visible information, YES your S&G form layout needs improvement.

    If you need this info occasionally, Thomas Youngs suggestion of a help-form is the way to go.

     

    I am very sceptic if the following issue is still in a state to be used;
    in the pre-GUI days, it allowed some Application Screen Layout.

    Nowadays you can reach it with the GoTo Menu when you edit the startup shell

    Startup Shell Paint Tableau

    Define an application screen for use in a character mode environment.

     Note:  The definitions specified here are ignored in GUI environments.

    This editor lists individual frame areas, which have properties that define the dimensions and characteristics.These definitions are compiled into a shell.aps file. It is not a graphical editor, in that the frames are not reflected on the tableau.

    Uniface automatically includes the MESSAGE and FORMAREA frames.

    Frames

    • MESSAGE—displays Uniface messages; default width is 80 characters
    • FORMAREA—displays forms; default width is 80 characters
    • PULLDOWN—displays a menu bar
    • MENU—displays a pop-up menu
    • DATE—displays the data when the application was started
    • TIME—displays the time when the application was started

    How to

    • To edit an existing frame definition, position the cursor on the name and use ^FRAME (Num +, F) to display the Edit Frame dialog. Edit the definitions and click Save. To get help about a property, position the cursor in the property field and press F1.
    • To add a new frame, press End and use ^FRAME (Ctrl, F) to display the Edit Frame dialog.
    • To define properties for the frames that are painted, use ^DETAIL (Ctrl, D)

     


    Author: ulrich-merkel (ulrichmerkel@web.de)
  7. When your users connect to your application through terminal emulator software, just make different colors for each environment using the configuration options of your terminal emulator.


    Author: Theo Neeskens (tneeskens@itblockz.nl)
  8. Some settings in the asn-Files are interesting for this kind of differenatation, e.g. the [CHUI] Section or $CHUI_FORM_BORDER $DEF_CUROCC_VIDEO or  $form_title, if used (with different attributes)...

     

    W

     

     

     

     


    Author: gypsilon (wva@gypsilon.de)
  9. .... or if you just want to have some internal hint for the expert, what about just changing the font (from the 9.4.01 Helpfile):

    [CHUI]

    The [CHUI] section enables you to define the appearance of a character based application.

    SETTINGS


    FACENAME

    Specifies the name of the type face (font) used in a character-based application

    Syntax

    FACENAME = FontName

    Default value: Terminal
    File section: [CHUI]

    Author: ulrich-merkel (ulrichmerkel@web.de)