Few minor problems with grid in slide mode
#61
Posted 27 January 2008 - 01:20 PM
#62
Posted 27 January 2008 - 08:54 PM
I have a grid with over 2k rows. I am doing full update and this moves a position of the scrollbar and selecting. How can i restore last view of the grid (a range of the viewable rows before grid update) after update?
Hello Saurman,
I am not sure that I understand this question completelly.
You may store SelectedRow property into some temporal variable and when you finish with update set SelectedRow := TempVar and use ScrollToRow(SelectedRow) to scroll to this row.
I hope that this helps,
Best regards
--
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.
#63
Posted 28 January 2008 - 12:43 AM
#64
Posted 28 January 2008 - 08:22 PM
Hello Saurman,
Maybe you can remember value of property FirstRow (indicate first visible row), and then after update (delete and add new rows?) scroll again to this row.
I hope that this helps,
Best regards
--
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.
#65
Posted 28 January 2008 - 11:20 PM
#66
Posted 29 January 2008 - 12:50 AM
There is also a property:
Maybe this is what you need.
Best regards
--
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.
#67
Posted 06 February 2008 - 10:55 AM
#68
Posted 06 February 2008 - 02:24 PM
You should be able to type unicode characters inside property if you have Delphi 2005 or up.
If you have Delphi 6 or 7. You may do next:
Open NxGridReg.pas file and you will locate 2 lines which are used for multi-line headers editor. Comment this 2 lines and re-compile packages.
Now you will be able to type unicode characters.
Best regards
--
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.
#69
Posted 06 February 2008 - 03:02 PM
#70
Posted 06 February 2008 - 03:04 PM
Maybe disabling this 2 lines will help in this case too (?)
Best regards
--
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.
#71
Posted 06 February 2008 - 03:54 PM
I guess ill have to use ListView
#72
Posted 06 February 2008 - 04:32 PM
I never use charsets very much since unicode is here for long time, and I am using Cyrillic letters without a problem with Unicode.
Can you please send me a one sample form with 2 TPanel's on it. Set on one Russian charset and send it to me. Thanks.
Best regards
--
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.
#73
Posted 06 February 2008 - 04:36 PM
#74
Posted 08 February 2008 - 10:50 PM
With unicode support, I am able to type letters like: Ñ?пшђфгчћљњ
For long-term, I suggest using unicode.
Best regards
Attached Files
--
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.
#75
Posted 09 February 2008 - 04:11 AM
1) assign russian word in design time to grid header
2) assign russian word in run time to grid header and cell (using AsString)
3) assign russian word in run time to grid cell (using Widestring cell property)
4) manually settting locale to russian (SetThreadLocal($419) on form create)
Doesnt work for me
#76
Posted 09 February 2008 - 05:14 AM
In design-time, you need to:
(Disable 2 lines mentioned before in NxGridReg.pas)
1) Set grid's font to be unicode (Tahoma, Verdana...)
2) Set keyboard to desired with using Language Bar (or press Alt+Shift)
3) Type letters inside Header.Caption property.
In run-time, things are a little bit more complicated, because Delphi editor doesn't suppor unicode well, but you will be able to Assign value from other unicode control (like TNT Editors) into Cell, Header, Footer. You will be also able to Load data from unicode file.
I forgot to mention, that if you have Delphi 2006 (maybe even D2005), you may simply type inside editor:
and it will work too.
Best regards
--
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.
#77
Posted 19 March 2008 - 03:44 PM
just noticed there is a new version of grid. Does it have fixed an issues we discussed later as for threads for repainting grid and BeginUpdate/EndUpdate functions? Also, i cant find a detailed change log
#78
Posted 19 March 2008 - 07:16 PM
Unfortunately, this bug is not yet fixed. You may read History.txt file (located in same dir where components are extracted) for changes list.
Best regards
--
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.
#79
Posted 20 May 2008 - 12:52 PM
few questions:
1) how is it going with that bug i had (repainting grid and BeginUpdate/EndUpdate functions)
2) how i can show memo field content in slides mode? (i see (MEMO), in TMS i can use ShowMemo=True)
3) is there free grid for D2007?
Cheers
#80
Posted 20 May 2008 - 05:15 PM
I have work on slide problems before 1 release and I hope that now things are better.
If you are thinking about NextDBGrid Db-Memo column there is a property for this MemoDisplayOptions.
Unfortunatelly, free version for Delphi 6 and 7 only exist.
Best regards
--
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.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












