search for: anchorpos

Displaying 1 result from an estimated 1 matches for "anchorpos".

Did you mean: anchor's
2006 May 15
3
FXTextField - posSelected?(pos)
Hi, I wonder if am facing a bug or something else On a FXtextField, I want to detect the low and high pos of the selected string example: the text is: 0123456789 The selected string is : 234567 first = last = -1 atext.text.length.times do |pos| first = pos if atext.posSelected?(pos) and first < 0 last = pos if atext.posSelected?(pos)