Hi Ed,
Now I get what you mean and thanks for that. I tested it with my trial prg and it works fine. There is still one more thing that I'm concerned with and that is the ThumbPos() method. If we use this method the ::lOverride will normally be set to .T. so any subsequent references to CalcThumbPos() will not recalculate ::nThumbPos because IF !::lOverride will normally results to .F. bypassing the computation. Just correct me if I'm wrong in this matter.
This seems C5.3 compatible to me; it will stop doing any recalculations after oScrBar:thumbPos has been assigned a zero value (by the caller), and it will do it again after oScrBar:thumbPos was assigned a non-zero value by the caller. Brgds, Viktor _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour