setProperty()

يضبط خصائص المؤشر
setProperty(name:int, value:mixed)

Parameters

Name Type Действие Значение по умолчанию
name int اسم الخاصية
value mixed قيمة العقار

Description

تستخدم في المنشئ. يمكن الاطلاع على قائمة الخصائص في Property

Example

// تحديد الممتلكات SeparateWindow, بسبب ظهور المؤشر في نافذة منفصلة
this.setProperty(Property.SeparateWindow, true);
// تحديد الممتلكات ShortName, مما يعطي المؤشر بالكامل اسمًا "Indicator"
this.setProperty(Property.ShortName, "Indicator");