Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: XE7 Firemonkey TListView Use TSpinBox


This question is not answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Sep 24, 2014 7:21 AM Last Post By: Eli M
Ken Randall

Posts: 130
Registered: 11/12/99
XE7 Firemonkey TListView Use TSpinBox  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 22, 2014 11:11 PM
Hi,

I would very much like to be able to use a TSpinBox in a TListView in a Multi-Device application.

I have reviewed the ListView mobile sample programs paying particular attention to the two packages enabling the ListView appearance to be modified however, these two examples deal with text and images. Is there a way of using any component in a ListView? If so I would appreciate being pointed in the right direction.

Regards,

Ken
Eli M

Posts: 1,346
Registered: 11/9/13
Re: XE7 Firemonkey TListView Use TSpinBox
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 23, 2014 5:50 AM   in response to: Ken Randall in response to: Ken Randall
You can do this with a TListbox.
Ken Randall

Posts: 130
Registered: 11/12/99
Re: XE7 Firemonkey TListView Use TSpinBox  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 24, 2014 3:06 AM   in response to: Eli M in response to: Eli M
Eli M wrote:
You can do this with a TListbox.

Thanks. Are there any examples of how to do this particularly using livebindings?
Eli M

Posts: 1,346
Registered: 11/9/13
Re: XE7 Firemonkey TListView Use TSpinBox  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 24, 2014 7:21 AM   in response to: Ken Randall in response to: Ken Randall
I think that would require you to make your own custom TListBox.

A TListBoxItem is just like any other Firemonkey component and can have child components. However, I would think you would need to make a custom TListBox with custom TListBoxItems that already has the TSpinBox built in to it. Then LiveBindings might be able to pick it up and use it at design time.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02