Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom form "inside" list
Author Message
Glorfind3l Offline
Junior Member
**

Posts: 2
Joined: Dec 2009
Post: #1
Custom form "inside" list
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 Smile


Attached File(s) Thumbnail(s)
   
04-12-2009 18:37
Find all posts by this user Quote this message in a reply
Sascha Lange Offline
Administrator
*******

Posts: 298
Joined: Dec 2008
Post: #2
RE: Custom form "inside" list
Hi,

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.

mirabyte Software-Entwickler / Software-Engineer
04-12-2009 19:09
Find all posts by this user Quote this message in a reply
Glorfind3l Offline
Junior Member
**

Posts: 2
Joined: Dec 2009
Post: #3
RE: Custom form "inside" list
(04-12-2009 19:09)Sascha Lange Wrote:  Hi,

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)

Thanks
04-12-2009 19:32
Find all posts by this user Quote this message in a reply
frank.nielsen Offline
Junior Member
**

Posts: 5
Joined: Nov 2009
Post: #4
RE: Custom form "inside" list
(04-12-2009 19:09)Sascha Lange Wrote:  Hi,

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 Smile
05-12-2009 13:13
Find all posts by this user Quote this message in a reply
Sascha Lange Offline
Administrator
*******

Posts: 298
Joined: Dec 2008
Post: #5
RE: Custom form "inside" list
@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.

mirabyte Software-Entwickler / Software-Engineer
05-12-2009 13:40
Find all posts by this user Quote this message in a reply
AlexM Offline
Junior Member
**

Posts: 1
Joined: Dec 2009
Post: #6
RE: Custom form "inside" list
(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.)
08-12-2009 16:37
Find all posts by this user Quote this message in a reply
mirabyte Support Offline
Administrator
*******

Posts: 329
Joined: Jan 2009
Post: #7
RE: Custom form "inside" list
Hi,

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
08-12-2009 19:19
Find all posts by this user Quote this message in a reply
s_d_o Offline
Junior Member
**

Posts: 11
Joined: Feb 2010
Post: #8
RE: Custom form "inside" list
(08-12-2009 19:19)mirabyte Support Wrote:  Hi,

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
29-03-2010 12:08
Find all posts by this user Quote this message in a reply
Post Reply