Hi everyone, I'm devloping an application which uses mirabyte touch list as its main navigation system and I'm stuck with a little problem: at the end of the navigation I need to display something which is not a list, how can I do?
The final result should be something like this (at least this is the concept we have in mind).
Is there a way to do this using your controls or shall I use a custom made form?
Tnx in advance, and compliments for the good job
04-12-2009 18:37
Sascha Lange
Administrator
Posts: 298
Joined: Dec 2008
you can use the CustomDrawItem method to draw content like shown in your screenshot.
You will find a CustomDrawItem HowTo in the HowTo-Thread at this forum.
So shall I put everything in a huge custom list item?
Or is it better to split various items (image with infos, title, etc.) in various custom items?
And is it possible to include a touchPictureButton in a non clickable list item so it's just the button which is clickable? (the only touchable elements in this "page" will be the 2 buttons)
you can use the CustomDrawItem method to draw content like shown in your screenshot.
You will find a CustomDrawItem HowTo in the HowTo-Thread at this forum.
Hi,
Im facing a similar problem, whatever to draw all-in-one or make multiple CustomDrawItems. The all-in-one approach gives no flexibility if the user have several navigation directions (as a TouchListBox with multiple items) and i have to do my own drawing so it seems like multiple items . Using multiple CustomDrawItem, which would be the correct approach, gives another challenge since the TouchListBox is working on a fixed ItemHeight! If a TouchListBoxItem (in CustomDrawItem mode) could have a CustomItemHeight that would be extremely helpfull
05-12-2009 13:13
Sascha Lange
Administrator
Posts: 298
Joined: Dec 2008
@Glorfind3l: Controls like the TouchPictureButton cannot be added to the TouchListBox.
@frank.nielsen:
Good idea! I added this feature request to our bugtracker system. So that you can use a custom ItemHeight for each item in the next release of Touch Controls Suite.
(05-12-2009 13:40)Sascha Lange Wrote: @Glorfind3l: Controls like the TouchPictureButton cannot be added to the TouchListBox.
Is it possible to display a screen with other controls (not TouchListBoxs) but with using slide effect?
For example:
1) user selects item in TouchListBox;
2) screen with TextBox, TouchPictureButton and some Labels appears from right;
3) after clicking on Cancel button TouchListBox appears from left.
Can Animator or SlideAnimator class be used for this approach (showing screens with slide effect)?
Thanks.
(This post was last modified: 08-12-2009 17:46 by AlexM.)
yes you can use the SlideAnimator class for that. We will post a how-to that shows how you can use this class for such as purpose. Basically a SlideAnimator does nothing else than sliding a bitmap over the screen.
yes you can use the SlideAnimator class for that. We will post a how-to that shows how you can use this class for such as purpose. Basically a SlideAnimator does nothing else than sliding a bitmap over the screen.
Regards,
mirabyte Support
it's possible to have a little example for this ?
I would use slideanimator for showing from the bottom of the form a list of button