fgl_setproperty()

fgl_setproperty is the same as fgl_getproperty, except that it sets rather than gets values.

The function is used in this way:

fgl_setproperty ["gui"], type.name, value)

In the above syntax, gui refers to the subsystem that the property belongs to. This optional parameter defaults to "gui", so it can be omitted. The type is the element of the subsystem that the property affects; the name is the actual name of the property. Value, which is primarily used when editing properties, can either be the new desired setting when used with fgl_setproperty(), or a specific location/file when used with fgl_getproperty(). If there is no value required in a fgl_getproperty() call, then simply enter two sets of quotation marks.

This function overrides any matching settings specified in a script file.

Other types of properties that you can set are:

property type

property name

example

system.registry

registry key to be read

CALL fgl_setproperty("system.registry", "HKEY_LOCAL_MACHINE\\SOFTWARE\\QUERIX\\Q4GL\\QUERIXDIR")

system.environment

environment variable name

CALL fgl_setproperty("system.environment", "TEMP")

system.network

"Ipaddress"

 

system.network

"hostname"

 

system

"username"

 

user

user property name

CALL fgl_setproperty("user.hello", "myoption")

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.