CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Scroll two regions indipendently

by Davide » 08 Mar 2014 12:31

Hello,

I'm working on a layout with two content region, a secondary on the left and a primary on the right (contentTyp - like in your demo).
In the left content region I inserted a TIWCGJQMListBox and on the right (primary) I create some JQMLabel at runtime.
Cause in the listview I have many items I would like to scroll the listview mantaining fixed the primary content region.
Is it possible ?

I tryied the following :
    Set the CGScrollStyle of the listview. (no effect)
    Include the listbox in a region and set the CGScrollStyle of the region (no effect)
    Include the listbox in a region and set the CGScrollStyle of the region and the RenderHeight of the region too (The listview scroll right but the last element is cutted off for some pixels in height)

I'm testing it on a 10" Android tablet and I get different listview visualization when I switch between landscape and portrait orientation.

If you have a tablet you could check the behaviour on the Internet www.doxaonline.it.
To enter type "utente1" for username and password.

Thak you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 10 Mar 2014 10:59

Hi Davide,

Do you want scroll programmatically (by code)? Or on scroll (by finger), you want scroll only listview?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Davide » 10 Mar 2014 15:32

Hi,

I wolud like to scroll only the listview by finger.
Thank you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 10 Mar 2014 19:03

Hi Davide,

I will check it asap.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 11 Mar 2014 15:10

Hi Davide,

In your case, you need only scroll the listview.
So you can enable the iscroll plugin by :

delphi code
IWCGJQMListView1.JQMIScrollViewOptions.Enable:= True;


However, i will implement the same functionality in JQMRegion.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQMRegion

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.