function bookmarks in TAdvMemo always returns -1 no matter how many bookmarks are set in this object. Could you please check and fix this problem.
Thanks,
function bookmarks in TAdvMemo always returns -1 no matter how many bookmarks are set in this object. Could you please check and fix this problem.
There is no function bookmarks.
Are you referring to the property AdvMemo.Bookmarks[Index: integer]: integer ?
Yes
I cannot see a problem here.
When setting bookmark 1 and bookmark 2, I can retrieve these after setting.
Test code: