点击或拖拽改变大小

Functions.Set 方法

X#
Changes and/or reads a system setting.

命名空间:  XSharp.RT
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
 FUNCTION Set(
	nDefine,
	newValue
) AS USUAL CLIPPER
查看代码

参数

nDefine (Optional)
类型:__Usual
Is a positive integer identifying a system setting or system variable. This should match the values from the Set enumerated type.
newValue (Optional)
类型:__Usual
The optional expression can specify a new value for a system setting. The data type is dependent on the system setting designated by nDefine.

返回值

类型:__Usual
When Set() is called without the argument newValue , the function returns the current system setting designated by nDefine . If newValue is specified, the corresponding system setting is set to newValue and the value of the old setting is returned.
备注
If you are coming from XHarbour or Xbase++ please don't use set.ch for the value of nDefine because there are some differences between the values in this header file and the values used inside X#.
参见