- This topic has 4 replies, 2 voices, and was last updated 8 years, 12 months ago by Support.
-
AuthorPosts
-
November 20, 2015 at 9:03 am #36761guyinwonderParticipant
Dear Sergey,
after changing to version 10.20 the sdblookupcombox didnt behave like it used to.
if we changed selection using drop down.. after select while the focus still in the dblookup it will not show reflected changed data.
After we moved focused to other control then it start showing the changes.
my solution so far were under oncloseup event , i need to put invalidate command for every each component sdblookupcombobox.
sergey , i have plenty of these type component .. and changes my fix across all project were very time consuming.
can you do something about it ?
Regards
eddy
November 20, 2015 at 10:42 am #54353SupportKeymasterHello!
I'm trying to repeat this problem in test-applications, but can't. Can you help me with that?
What version of Delphi used?
November 21, 2015 at 3:53 am #54359guyinwonderParticipant'Support' wrote:Hello!
I'm trying to repeat this problem in test-applications, but can't. Can you help me with that?
What version of Delphi used?
Im sorry sergey,
I cant replicate it myself using dummy sample, but the issue exists in my current project for my office…I used XE5 embarcadero ,
Let me know further how to help you as I dont know how to sent you part of the project (all the project were integrated one to another (tightly coupled)).
meanwhile i'll chase down to manually put one by one invalidate across all dblookup component ..
however I can replicate that when ever one form closed if i don't tick the extended border it will have an error .
[attachment=7448:Testing component.rar]
November 25, 2015 at 7:52 am #54377guyinwonderParticipantDear Sergey,
I have played with sDBLookupComboBox.pas file and These were what I have done.
under
Code:procedure TsDBLookupComboBox.WndProc(var Message: TMessage);I edit the line 470
Code:WM_NCPAINT: begin
FCommonData.Invalidate(True); <— I added These
PaintText; <– I added these
PaintBorder;
Exit;
end;And it seems it do the trick.. when I search using keyword by typing character and press enter the text update correctly at the edit box also
when using mouse click .
previously if do search by typing and mouse click the list box just closed but what ever shows on the edit box were not refreshed.
please advise if these were already correct way to fix my issue in your opinion.
funny thing is outside my project if i create new project with the sdblookupcombobox it doesnt how issue like the one in my project.
regards
November 30, 2015 at 5:57 pm #54418SupportKeymasterHello!
Please, try the v10.21, some errors were fixed there, including DBLookupCombo.
I can't recompile your demo because some components does not exists on my system (like TMyConnection).
-
AuthorPosts
- You must be logged in to reply to this topic.