Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3916

WebListbox ScrollTo Incorrect With Variable Height Rows

$
0
0

See attached sample project.

When using a WebListBoxCellRenderer to add multi-line data into a WebListBox, the WebListBox Class’ built-in ScrollTo method doesn’t scroll to the passed row.

It seems to be using the default row height and scrolling to (Default Row Height) * # of rows.

What’s the correct way to scroll to the requested row when the row height varies from row to row?

listboxScroll.xojo_binary_project.zip (10.4 KB)

Edit: This is with Xojo 2024 r2.1 on MacOS. Testing with Safari, Firefox, and Edge browsers.

11 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3916

Trending Articles