Please,
How I can make to control if a element is allready exist into the TTAGEVER array ?
sample :
aTagstemp:
= oControl;getItems() // this give me an array with all elements of array of the control
ctext:="silvio" // new element text to insert on this array
If AScan( aTagsTemp, {|a| a == cText } ) =1 <--- not run ok
Msginfo("it is allready exist on list")
else
oControl:AddItem( ctext )
Endif
any help please ?
↧