Add script access to binding overriding.
@@ -28,6 +28,7 @@ int mapstrings_binding(ScriptVariant **varlist, int paramCount)
"direction",
"matching",
"offset",
+ "overriding",
"positioning",
"sort_id",
"tag",
@@ -121,6 +122,13 @@ HRESULT openbor_get_binding_property(ScriptVariant **varlist , ScriptVariant **p
break;
+ case _BINDING_OVERRIDING:
+
+ ScriptVariant_ChangeType(*pretvar, VT_INTEGER);
+ (*pretvar)->lVal = (LONG)handle->overriding;
+
+ break;
+
case _BINDING_POSITIONING:
ScriptVariant_ChangeType(*pretvar, VT_PTR);
@@ -247,6 +255,15 @@ HRESULT openbor_set_binding_property(ScriptVariant **varlist, ScriptVariant **pr
break;
+ case _BINDING_OVERRIDING:
+
+ if (SUCCEEDED(ScriptVariant_IntegerValue(varlist[ARG_VALUE], &temp_int)))
+ {
+ handle->overriding = temp_int;
+ }
+
+ break;
+
case _BINDING_POSITIONING:
// Read only.
