Hello Boki,
is there a easy way to have the width of a column in slide-mode adjusted to the width of the grid?
The problem is: I use slides in a grid and when I resize the grid (e.g. the user with a splitter) the text of a column stops at some point or draws over the edge (no word wrap "...").
The grid itself also has no OnResize Event where I could react to these changes, also this would be pretty difficult.
Did I miss something or is there a other way?
greetz
Steffen
Column-Width with Slides
Started by MasterEvil, Mar 11 2007 01:25 PM
5 replies to this topic
#2
Posted 11 March 2007 - 05:08 PM
Hello Steffen,
Unfortunately not, but I have add OnResize event in NxCustomGrid.pas (add one single line in published: property OnResize; ).
I think that it may be done easy. You will need to adjust SlideBounds to fit them inside grid.
regards
Unfortunately not, but I have add OnResize event in NxCustomGrid.pas (add one single line in published: property OnResize; ).
I think that it may be done easy. You will need to adjust SlideBounds to fit them inside grid.
regards
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.
--
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
Posted 13 March 2007 - 11:49 PM
Hello Boki,
thanks for your reply, but sadly the event is not firing
Don't know why.
greetz
Steffen
thanks for your reply, but sadly the event is not firing
Don't know why.
greetz
Steffen
#4
Posted 15 March 2007 - 03:48 AM
Hello Steffen,
I will made one small demo today and send it to you. Stay tuned
regards
I will made one small demo today and send it to you. Stay tuned
regards
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.
--
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
Posted 26 March 2007 - 11:05 PM
Hello Boki,
I didn't get any demo, but thanks anyway
I helped me with a Panel below the Grid. This has a working OnResize Event and I set the Widths there.
Of course it would be better to have a working OnResize Event in the NextGrid.
Thanks again,
Steffen
I didn't get any demo, but thanks anyway
I helped me with a Panel below the Grid. This has a working OnResize Event and I set the Widths there.
Of course it would be better to have a working OnResize Event in the NextGrid.
Thanks again,
Steffen
#6
Posted 27 March 2007 - 12:57 AM
Hello Steffen,
Open NxCustomGrid.pas and find procedure for WM_SIZE
at the end of this procedure add:
I hope that this help,
regards
Open NxCustomGrid.pas and find procedure for WM_SIZE
at the end of this procedure add:
CODE
inherited;
I hope that this help,
regards
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.
--
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