- This topic has 4 replies, 3 voices, and was last updated 6 years, 2 months ago by
Support.
-
AuthorPosts
-
January 22, 2019 at 7:22 pm #58948
Support
KeymasterHello!
I think, “Application.Initialize;” must be placed before creating of any forms.
Also, try to change a type of hidden form to TDataModule. This type is specially intended for such purposes, for placing of invisible components, TTimer, TImageList, etc…
Can you repeat the error in separate demo, which may be debugged?
January 23, 2019 at 8:20 am #58949BionicWave
Participant'Support' wrote:I think, “Application.Initialize;” must be placed before creating of any forms.
I will try that out. Thank you.
'Support' wrote:Also, try to change a type of hidden form to TDataModule. This type is specially intended for such purposes, for placing of invisible components, TTimer, TImageList, etc…
I tried that too, but TsSkinManager can not be placed on a TDataModule. So…
'Support' wrote:Can you repeat the error in separate demo, which may be debugged?
This problem only seems to become relevant, when you developed a project for a longer time, since i worked on that project for nearly a year now and never had that problem
until recently.
I also switched back to version 14.11. This reduced the exception messages to almost none.
I blame these exceptions to a good degree on my rather old Delphi version, but it seems that the combination of my Delphi version and the 14.11 version of your components
seem to work better on a Win10 installation.
I already tried to test the error with an empty project, but had no success.
So as long as it works, i have to finish the project first, as you may understand.
I will message here again if i run into another “major problem” state and will exmamine this effect a bit deeper.
Thanks for your help.
January 23, 2019 at 2:34 pm #58951Stephane Senecal
ParticipantI tried to put a TsSkinManager in a TDataModule and it works quite well.
The only thing special I noticed, is that you must open the DataModule unit in the IDE for controls to be skinned at design.
Note that auto-create does not mean auto-show. Only the main form will be shown automatically, unless Application.ShowMainForm = False.
Set DataModules to be auto-created before Forms.
Stephane Senecal
CIS Group
Delphi programmer since 2001January 24, 2019 at 9:01 am #58960Support
KeymasterTsSkinManager may be placed to the TDataModule without any problems and it's a good way.
The TsSkinManager component is not visible.
-
AuthorPosts
- You must be logged in to reply to this topic.