ListBox1->Touch->GestureManager = GestureManager1; ListBox1->Touch->StandardGestures = TStandardGesture::sgLeft; I tried this way, it gives an error:
ListBox1->Touch->GestureManager = GestureManager1; ListBox1->Touch->StandardGestures = TStandardGesture::sgLeft; I tried this way, it gives an error:
The text of the error shows that the compiler cannot convert the type of TStandardGesture to TStandardGestures (the names differ only by one s at the end). Also, the error states that the second type is essentially an alias for the template class Set . This class is a set (set) of values and for placing a value into this set an operator<< overload is provided:
ListBox1->Touch->StandardGestures << TStandardGesture::sgLeft; Source: https://ru.stackoverflow.com/questions/626355/
All Articles