coShowTextFitHint focus problem
#1
Posted 26 July 2007 - 05:50 PM
-> coShowTextFitHint = true
-> myProgram is in background (etc. Explorer.exe has the focus)
-> move the mouse over the cell in myProgram (only cells where the text ist longer as the cell)
the form in myProgram will close (like self.close)
#2
Posted 26 July 2007 - 06:27 PM
Hm, for me all work fine, also nobody have report this yet. Can you please tell me is this happen when you set Header.Hint property too.
Also, I am thinking about to disable hints when application is not in focus.
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.
#3
Posted 26 July 2007 - 06:32 PM
at begin of next 2 procedures in NxCustomGrid.pas:
procedure TNxCustomGrid.ShowColumnHint(X, Y: Integer; Text: string);
procedure TNxCustomGrid.ShowCellTextFitHint(ACol, ARow: Integer);
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.
#4
Posted 26 July 2007 - 06:54 PM
I use W2K
I don´t have the NxCustomGrid.pas. I use the Free Version 4.0.1.
#5
Posted 26 July 2007 - 07:02 PM
I have add this checking and I hope that now all will be fine. I will update files in few days again.
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.
#6
Posted 27 July 2007 - 01:15 PM
the error happens only, when you have 2 Forms with nextgrig in each case (with coShowTextFitHint is active).
Look the movie in Attachments
Attached Files
#7
Posted 27 July 2007 - 02:16 PM
I will re-upload today new version on site and you will be able to test it. Thank you.
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.
#8
Posted 29 July 2007 - 04:50 AM
I have re-upload free version on site. You may download it now again.
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.
#9
Posted 30 July 2007 - 11:54 AM
Test with this code. (Attachment)
Attached Files
#10
Posted 30 July 2007 - 02:35 PM
I see now. It will be ready in few minutes.
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.
#11
Posted 30 July 2007 - 02:58 PM
I have re-upload delphi 7 version on my site and please look again on it.
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.
#12
Posted 30 July 2007 - 03:15 PM
#13
Posted 30 July 2007 - 03:33 PM
Please check attached file. Please run exe first and then compile source code and tell me if it happen in both files.
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.
#14
Posted 30 July 2007 - 04:23 PM
self compiled Version doesn`t work.
#15
Posted 30 July 2007 - 04:35 PM
Maybe I didn't send you correct version, or your browser have download old file. I will now compile nextgrid again and attach file here.
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.
#16
Posted 30 July 2007 - 04:45 PM
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.
#17
Posted 30 July 2007 - 05:00 PM
I downloaded an install, again.
In myProgram works now fine, but in my SampleProg the same Error.
I have another Problem in myProgram, but think that is the SelectedColumn -1 problem.
#18
Posted 30 July 2007 - 05:10 PM
It seems that forum software have block exe file
SelectedColumn is now again 0. Can you give me more details about this program?
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.
#19
Posted 30 July 2007 - 05:19 PM
I use this code
ARow: Integer);
begin
ng_benutzer.Columns.Item[2].Font.Color:=cl3DLight;
ng_benutzer.Cell[3,ARow].AsString:='';
end;
If I have selectedRow=-1 then I get a error.
Now it works.
ARow: Integer);
begin
if (ARow>=0) then
begin
ng_benutzer.Columns.Item[2].Font.Color:=cl3DLight;
ng_benutzer.Cell[3,ARow].AsString:='';
end;
end;
the same in onClick event, when table is empty.
#20
Posted 30 July 2007 - 05:28 PM
This is related to SelectedRow = -1
I will now add some checking when SelectedRow is -1 and then to not call DoDeselectCell event.
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