- This topic has 9 replies, 2 voices, and was last updated 13 years, 2 months ago by STR1KE0UT.
-
AuthorPosts
-
August 20, 2011 at 3:00 pm #34733STR1KE0UTParticipant
Is it possible to skin a form & components Dynamically loaded at run-time WITH the skin manager from the separate executable? If so, how would i go about doing it?
I can provide code if necessary.
Thanks.
August 27, 2011 at 9:12 am #46530STR1KE0UTParticipant1 week and no reply? I simply want to know whether it is possible or not and if so, how to approach it. Please Help!
Thanks.
September 5, 2011 at 12:43 pm #46576SupportKeymasterIf you mean a skinning of controls loaded from Dll then it's possible and many discussions exists already here.
Try to search “*DLL*”
September 6, 2011 at 9:12 am #46586STR1KE0UTParticipant'Support' wrote:If you mean a skinning of controls loaded from Dll then it's possible and many discussions exists already here.
Try to search “*DLL*”
I searched this but the only way that i could find was to build with run-time packages.
I can do this but i would prefer not to. Is there any other way to do it?
Also, another thing i was wondering, is there support for the TTrackBar component in the ThirdPartyList?
Thanks.
September 7, 2011 at 6:18 am #46600SupportKeymaster'STR1KE0UT' wrote:I searched this but the only way that i could find was to build with run-time packages.I can do this but i would prefer not to. Is there any other way to do it?
Using acntDx_r.bpl as run-time package is a best way. Other ways have other problems ('can not assign TFont to TFont', for example), these problems are known and discussed on Internet.
Quote:Also, another thing i was wondering, is there support for the TTrackBar component in the ThirdPartyList?This control is not supported at moment.
September 7, 2011 at 1:54 pm #46610STR1KE0UTParticipant'Support' wrote:Using acntDx_r.bpl as run-time package is a best way. Other ways have other problems ('can not assign TFont to TFont', for example), these problems are known and discussed on Internet.
This control is not supported at moment.
Thanks for your help 🙂 I have gotten my DLLs skinned using run time packages.
Is it possible to make the components in my DLL forms glow as if they were using the “AnimatEvents” property?
Also, If possible could support for TTrackBar and TScrollBar be added to the Third Party List?
Thanks.
September 8, 2011 at 7:20 am #46617SupportKeymaster'STR1KE0UT' wrote:Is it possible to make the components in my DLL forms glow as if they were using the “AnimatEvents” property?I think you should use controls from the package for this effect.
Quote:Also, If possible could support for TTrackBar and TScrollBar be added to the Third Party List?I'm sorry, it's not possible now, maybe later.
September 8, 2011 at 7:41 am #46619STR1KE0UTParticipant'Support' wrote:I think you should use controls from the package for this effect.
Is there a way to load the components dynamically from the package? I wonder because when i use them at design-time, my libraries output size is greatly increased.
Thanks for all your help regarding this matter. I'm quite pleased now that my plugins are so easily skinned 🙂
'Support' wrote:I'm sorry, it's not possible now, maybe later.
This is fine, I'll be anticipating when it gets added though.
Also, 2 final questions, the blend on move property seems to have no effect when using the run-time package. When i don't build with run-time packages however, it seems to work fine. Would you have any idea why?
Finally, I don't think it has anything to do with Alpha Controls, but I was hoping you might know anyway 🙂 Whenever I build with run-time packages, the application Icon seems to disappear. When i build without run-time packages, again, it works fine. Here is what i mean:
Thanks a lot!
September 8, 2011 at 7:50 am #46620SupportKeymasterMaybe you have several SkinManagers in Exe and Dll?
You should have one SkinManager with defined properties.
September 11, 2011 at 11:55 am #46644STR1KE0UTParticipantThanks, I've got almost all of it working perfectly now! Still working on getting “BlendOnMoving” to work and figuring out why the icon won't display (probably corrupt resource) but I'll figure it all out in time 🙂
A Sincere thank-you for all of your help Serge!
EDIT:
Found out why the icon was blank! I went through the resource file with resource hacker and it seems that it was not corrupt after all. So it must've been encountering an error while it was being created/loaded from the resource. (for some unknown reason…). So i just loaded it manually from the resource on the onCreate method using this:
Code:Application.Icon.Handle := LoadIcon(hInstance, 'MAINICON'); //MAINICON being the name of the icon inside the resource file.Just posting this in-case anybody ever has the same problem because it was quite annoying.
Now, if i can just get “BlendOnMoving” to work… 😛
-
AuthorPosts
- You must be logged in to reply to this topic.