PDA

View Full Version : How to DISABLE SELECTION of a Label or Text



abdulaziz
07-22-2015, 08:46 AM
Hello.
Thru script i am placing some TEXTs and LABELs. Anyone please help me to "DISABLE SELECTION" of this objects? by default user can select and move to anywhere on chart. i would like to place them stationary.

Regards.

Hassan-HS
07-23-2015, 05:07 AM
Hello,
Sure you can disable selection using this ObjectSet method

Smaple



Dim objID
Public Sub main()
objID="label1"
fontSize=8
CreateObjectLabel 0,0,CSTR(objID),50,50,"welcome to VTL World "
Objectset Clng(0),Cstr(objID), 1 ,false
End Sub