- This topic has 7 replies, 2 voices, and was last updated 7 years, 11 months ago by
HeDiBo.
-
AuthorPosts
-
May 14, 2017 at 6:42 pm #56619
Support
KeymasterThank you for the demo.
Can you give me your Exe also? I will check it on my system.
By the way, Datamodule with SkinManager is created after the form creation in this project.
I always suggests to create DataModule before all forms.
May 14, 2017 at 7:44 pm #56621HeDiBo
Participant'Support' wrote:Thank you for the demo.
Can you give me your Exe also? I will check it on my system.
By the way, Datamodule with SkinManager is created after the form creation in this project.
I always suggests to create DataModule before all forms.
I will try that.
Here is the exe:
[attachment=8294:acDateEditBug.zip]
May 14, 2017 at 7:48 pm #56622HeDiBo
ParticipantMaking the datamodule first solved the problem of the title bar. Thank you.
The “next year” button problem remained though.
May 15, 2017 at 12:41 pm #56630HeDiBo
ParticipantMy problem with the TsDateEdit not responding to the buttons in the calendar is still unsolved.
I made a message trace of the bug.
What I do is start the program, go to the tabsheet containing the DateEdit, click the button, click the Next Month button (which does not do a thing except close the Calendar) and stop the program.
I traced the messages in sMonthCalendar, sToolEdit, acPopupCalendar and sPopupClndr. This is the result:
[attachment=8299:alphalog.txt]
I noticed the log contains no more than two LBUTTON messages, one for button down, followed by one for button up. After that, apparently things go wrong.
May 18, 2017 at 4:38 pm #56641Support
KeymasterThank you for the Exe and Log files.
I think, it's strange, but calendar buttons works well in your Exe on my PC (except “Next Year” button, this button works too, but glyph is not visible).
I need more info about your Windows and Delphi versions.
Also, TsMonthCalendar works well on your side?
The TsDateEdit placed to the form directly works well?
May 18, 2017 at 6:20 pm #56645HeDiBo
Participant'Support' wrote:Thank you for the Exe and Log files.
I think, it's strange, but calendar buttons works well in your Exe on my PC (except “Next Year” button, this button works too, but glyph is not visible).
I need more info about your Windows and Delphi versions.
Also, TsMonthCalendar works well on your side?
The TsDateEdit placed to the form directly works well?
The icon of the Next Year button is invisible. After changing the order of unit creation (datamodule first) that's the only thing that remains.
The test project that I sent you is a true mimic of my large project. So, about placement etc. that will answer all your questions.
However, this test project does not fail!. In my larger project the calendar closes as soon as a button is clicked without acting upon its intended purpose. Therefore I have sent you the message trace, which is from my actual large project.
I'm working with Windows 10 Pro (64 bit version) and with Delphi XE4.
May 20, 2017 at 9:29 am #56650HeDiBo
ParticipantProblem solved in AC 12.08
-
AuthorPosts
- You must be logged in to reply to this topic.