Hello All,
Are there any built in functions that enable automatic horizontal scrolling of a selected item in a listbox.
Not a scrollbar that the user has to interact with, but a function that sees the displayed string is greater than the length of the display and starts scrolling from right to left automatically when that item is selected.
Something along the lines of...
item_index = listbox_GetSel();
if(LENGTH_OF(listbox_GetItemText(item_index)) > MAX_DISPLAYABLE_LENGTH_ON_THE_SCREEN)
{
SCROLL_AUTOMATICALLY_FROM_RIGHT_TO_LEFT();
}
...but built in ?
Thanks.
Are there any built in functions that enable automatic horizontal scrolling of a selected item in a listbox.
Not a scrollbar that the user has to interact with, but a function that sees the displayed string is greater than the length of the display and starts scrolling from right to left automatically when that item is selected.
Something along the lines of...
item_index = listbox_GetSel();
if(LENGTH_OF(listbox_GetItemText(item_index)) > MAX_DISPLAYABLE_LENGTH_ON_THE_SCREEN)
{
SCROLL_AUTOMATICALLY_FROM_RIGHT_TO_LEFT();
}
...but built in ?
Thanks.
The post was edited 1 time, last by Diesel ().