Page 1 of 1

ListBox / Customization

Posted: Thu Aug 29, 2013 7:45 am
by filou
Hi,

For 6 month ago, I created my own recipe management (screen with a ListBox, buttons to save, load and delete the recipes).
This customized function with script works well.

Unfortunatelly I receive some feedback from user:
The up/down arrow and the scroll bar from the standard ListBox on the TA70 Touch Panel is too small... it's not really userfriendly...
(Here enclosed you can see the ListBox)

Is-there a possibility to include a customized ListBox with larger buttons (up/down arrow, scroll bar...) ????

Has anyone a solution or an alternative ?

Thank you for the idea ...

Philippe

Re: ListBox / Customization

Posted: Thu Aug 29, 2013 9:37 am
by mark.monroe
There is no way that I know of to increase the size of just the scroll bar. You could create two buttons that change the selected item index and will scroll the list box for you. The buttons show up behind the Listbox, because of the way iX Developer draws screen objects. Also, I could not find a way to remove the scroll bar from the list box.

Code: Select all

		void Button5_Click(System.Object sender, System.EventArgs e)
		{
                        //Scrolls UP
                        if(ListBox1.SelectedIndex > 0)
                               ListBox1.SelectedIndex -= 1;
		}
		
		void Button6_Click(System.Object sender, System.EventArgs e)
		{
                       //Scrolls Down
                       if(ListBox1.SelectedIndex < ListBox1.Items.Count - 1)
                                ListBox1.SelectedIndex += 1;
		}
Snap 2013-08-29 at 09.36.01.png
Snap 2013-08-29 at 09.36.01.png (7.99 KiB) Viewed 9723 times

Re: ListBox / Customization

Posted: Tue Sep 03, 2013 12:09 am
by filou
Hi Mark,

Is there a solution with "Third-party" ListBox ?
Have you used something like this ?

Has anyone a solution with this type of object?

Thank you
Philippe

Re: ListBox / Customization

Posted: Mon Feb 20, 2017 6:40 am
by kartoffelavler
Hi Mark,

Is it possible to make a similar solution using two buttons for scrolling up and down together with the PDF viewer?
I have buttons for jumping one page at a time but need to be able to scroll down the page without using the buttons in the scrollbar.

Best regards
Tonny