Jump to content


Photo

Slider feature request


  • Please log in to reply
11 replies to this topic

#1 array81

array81

    Senior Member

  • Members
  • PipPip
  • 290 posts
  • Gender:Male

Posted 05 April 2017 - 09:34 AM

Please see the image:

 

slider.png

 

I need this:

1. Image of TNxIconColumn on center of bounds;

2. The user cannot select single bounds but only select the row or click on links (Folder, Tag1, ...) so all bounds must be blue (selction color and without dot line on single bound (like on Folfer);

3. Anchors property for bounds.

 

Is it possible?



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 05 April 2017 - 07:52 PM

Hi,

1) Align property of Column should help you there.
2) SelectFullRow is maybe what you need. But then you probably need couple of more tweaking. You can see in my video what I'm doing:
http://www.bergsoft....slides_view.mp4

3) Not yet, but have in plan. Maybe you can move them manually now if you need some of them anchored at right. For example inside OnResize event.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 array81

array81

    Senior Member

  • Members
  • PipPip
  • 290 posts
  • Gender:Male

Posted 05 April 2017 - 11:58 PM

The point 1 is ok.

 

The point 2 have serious problem.

 

Please see my demo: https://www.dropbox....slider.zip?dl=0

 

a. the SelectFullRow get an abstract error (run the demo and try to click on row);

b. the selection color (blue) is NOT to all row (the bounds are white);

c. I can select the row only if I click on bounds. If I try to click out of bounds the row is not selected.

 

The point 3 is ok but please add the feature in the future.



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 06 April 2017 - 01:02 AM

Hi, if is possible I will continue torrow.

I have started with tree bug, it will be tricky but i need to solve it.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 26 April 2017 - 06:57 PM

Hi,

I think I had fixed Abstract Error issue. Please tell me how it works now, I have re-uploaded files.

Sorry again for waiting.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 array81

array81

    Senior Member

  • Members
  • PipPip
  • 290 posts
  • Gender:Male

Posted 13 May 2017 - 01:15 AM

I have a slider with SelectFullRow, this is the result:

select.png

 

however when the silder is not focused the result is this:

 

unselect.png

 

I don't want see the white box around the cells.

 

Is there a way?



#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 May 2017 - 12:19 PM

Hi,

It will be fixed asap. You will need to set HideSelection to False too. I only need now to refresh whole view, but not only a row.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 13 May 2017 - 12:41 PM

Hi,

Think I fixed it (I uploaded new release). I think you only need NxGridView6.pas file to replace.

You will also need to set HideSelection to False.

I'm thinking about having property IgnoreCellColors in SlideReport. This will simplify many situations.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#9 array81

array81

    Senior Member

  • Members
  • PipPip
  • 290 posts
  • Gender:Male

Posted 19 May 2017 - 04:33 PM

The problem is fixed but I have found another bug.

 

On my sliders I create one item (so no scroll bar) then clear my sliders and create 4 items (so I have scroll bar enabled) then clear my slider and create one item and I get a problem with scroll bar style:

 

slider.png



#10 array81

array81

    Senior Member

  • Members
  • PipPip
  • 290 posts
  • Gender:Male

Posted 14 June 2017 - 12:17 AM

Some request about slider:

  • Add anchors for slider items;
  • Add align for slider items (for example set image or text on left, right or center of bounds); 


#11 array81

array81

    Senior Member

  • Members
  • PipPip
  • 290 posts
  • Gender:Male

Posted 23 June 2017 - 03:19 PM

up



#12 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 30 June 2017 - 12:08 AM

1. Anchors are in plan, but not sure when.
2. You can set Alignment property of Column. Column is still responsible for drawing of cell.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users