Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ListBox / Customization
PostPosted: Thu Aug 29, 2013 7:45 am 

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

Offline
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 2912 times ]
 Profile  
 
 Post subject: Re: ListBox / Customization
PostPosted: Thu Aug 29, 2013 9:37 am 

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

Offline
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:
      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;
      }


Attachment:
Snap 2013-08-29 at 09.36.01.png
Snap 2013-08-29 at 09.36.01.png [ 7.99 KiB | Viewed 2910 times ]

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


 Profile  
 
 Post subject: Re: ListBox / Customization
PostPosted: Tue Sep 03, 2013 12:09 am 

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

Offline
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


 Profile  
 
 Post subject: Re: ListBox / Customization
PostPosted: Mon Feb 20, 2017 6:40 am 

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

Offline
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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron