Hi,
how can I change the max (Objectinspector) of a numbercolumn by code during runtime?
regards
Mcinternet
numbercolumn
Started by mcinternet, Nov 12 2010 05:11 PM
2 replies to this topic
#1
Posted 12 November 2010 - 05:11 PM
#2
Posted 12 November 2010 - 08:20 PM
Hello,
You need to use typecasting.
I hope that this helps.
You need to use typecasting.
CODE
TNxNumberColumn(NextGrid1.Columns[x]).Max := 4;
I hope that this helps.
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 November 2010 - 04:09 PM
QUOTE (Boki (Berg) @ Nov 12 2010, 08:20 PM) <{POST_SNAPBACK}>
Hello,
You need to use typecasting.
I hope that this helps.
You need to use typecasting.
CODE
TNxNumberColumn(NextGrid1.Columns[x]).Max := 4;
I hope that this helps.
Hi Boki,
that works - many thanks
regards
McInternet
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users