fglprofile.std

 

fglprofile.std is a Lycia configuration file that allows configuring database interfaces as well as setting certain global defaults for Lycia applications.

 

By default, fgl.profile.std is located in

C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia\etc\

/opt/Querix/Lycia/etc/

 

You can change the default location of fgl.profile.std by setting the corresponding environment variable:

 

FGLPROFILE=C:\Program Files\Querix\my_configs\fglprofile.std

 

By default, fglprofile.std has the following content (press » to see the default content):

 

And these parameters are set:

 

dbi.postgresql.rowid

dbi.oracle.rowid

dbi.oracle.temp

dbi.oracle.like.default_escape

dbi.oracle.byte_binding_type

dbi.oracle.text_binding_type

 

The table below contains variables and options that can be set in fglprofile.std.

 

Environment

system.environment.<name>

allows setting values for environment variables in fglprofile.std so that they will be used globally

system.environment.dbdate

allows setting the value of DBDATE to specify the end-user format for DATE values

system.environment.dbformat

allows setting the value of DBFORMAT to specify the input and display formats for numeric values

system.environment.dbmoney

allows setting the value of DBMONEY to define currency symbols and decimal separators used for inputting and displaying numeric values

system.environment.dbcentury

allows setting the value of DBCENTURY to specify how to expand DATE and DATETIME values when abbreviated to one or two digits

system.environment.dbtemp

allows setting the value of DBTEMP to define the folder to store temporary files created by the runtime system

system.environment.dbdelimiter

allows setting the value of DBDELIMITER to specify the symbol that separates loaded and unloaded files in the LOAD and UNLOAD statements

GUI layout options

gui.layout.break.start

specifies the character starting with which string is split in the Informix® compatibility mode (is equivalent to QXBREAKCH_START)

gui.layout.break.end

specifies the character after that string is split in the Informix® compatibility mode (is equivalent to QXBREAKCH_END)

gui.layout.break.max_spaces

specifies the maximum number of spaces any string can have (in a row) not to be split in the Informix® compatibility mode (is equivalent to QXREP_SPACES)

Database Interfaces

dbi.postgresql.rowid

enables the ROWID emulation for PostgreSQL databases - can be oid, emulate, or none

dbi.oracle.rowid

enables the ROWID emulation for Oracle databases - can be emulate or none

dbi.oracle.temp

specifies how the temporary tables are dealt with (Oracle databases) - can be native or emulate

dbi.oracle.like.default_escape

specifies the default escape clauses for LIKE (Oracle databases) - can be true or false

dbi.oracle.byte_binding_type

specifies whether the BYTE fields are bound to the Oracle's LONG or BLOB data type - can be long or blob

dbi.oracle.long_binding

specifies whether the TEXT fields are bound to the Oracle's LONG, CLOB, or NCLOB data type - can be long, clob, or nclob

GUI

gui.menu.window

adds an new item to the top menu item - Window - that shows all the applications currently running in the MDI mode  (is equivalent to QX_MENU_WINDOW)

gui.menu.window.newchild

adds an new item to the Window menu group - New application - that opens a LyciaDesktop connection dialog to launch other applications in the MDI mode  (is equivalent to QX_MENU_WINDOW_NEW_CHILD)

gui.size.dimension

specifies the default measurement unit for the size of an object (e.g., window or form) - can be qch (recommended) or other

gui.doubleclick.action

allows or forbids double clicks in GUI

 

You can open and modify fglprofile.std with your favorite text editor:

 

Step 1

Go to C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia\etc\.

 

Step 2

Open fglprofile.std with the text editor you prefer.

 

Step 3

Introduce the necessary changes and save them.