ListBox / Customization

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
filou
Posts: 22
Joined: Thu May 03, 2012 11:06 am

ListBox / Customization

Post 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
Attachments
ListBox.png
ListBox.png (2.98 KiB) Viewed 9724 times

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: ListBox / Customization

Post 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 9722 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

filou
Posts: 22
Joined: Thu May 03, 2012 11:06 am

Re: ListBox / Customization

Post 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

kartoffelavler
Posts: 1
Joined: Thu Apr 28, 2016 2:43 am

Re: ListBox / Customization

Post 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

Post Reply