Wojciech Kmiecik

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Good TPlaner component #48631
    Wojciech Kmiecik
    Participant

    thank you for your reply.

    So i will try adopt “Hamilton” sugestion to JVTFPlaner, and i will share results in next month 🙂

    in reply to: Good TPlaner component #48597
    Wojciech Kmiecik
    Participant
    'Hamilton' wrote:

    Hi,

    I've been thinking about this and I don't think the skinning will work for the planner components in any 3rd party suite as they will not descend from any base class that the AC library knows how to handle. What you can do is manually set the various colour regions of the calendar component at runtime to match the skin.

    Confirmation that you won't be able to skin the TMS calendar component is: [topic='here']http://www.alphaskins.com/forum/index.php?showtopic=7038[/topic].

    If you want to set the colours manually, then you can do something like:

    Code:
    procedure TfdPOSDesigner.ResetColour;
    begin
    cpgProperties.Color := sSkinManager1.GetActiveEditColor;
    cpgProperties.GradientBaseColor := sSkinManager1.GetActiveEditColor;
    cpgProperties.GradientColor := sSkinManager1.GetHighLightColor;
    cpgProperties.HeaderFont.Color := sSkinManager1.GetActiveEditFontColor;
    cpgProperties.ChevronColor := sSkinManager1.GetActiveEditFontColor;
    cpgProperties.ChevronHotColor := sSkinManager1.GetHighLightFontColor;

    CategoryPanel1.Color := sSkinManager1.GetGlobalColor;
    CategoryPanel1.Font.Color := sSkinManager1.GetGlobalFontColor;
    CategoryPanel2.Color := sSkinManager1.GetGlobalColor;
    CategoryPanel2.Font.Color := sSkinManager1.GetGlobalFontColor;
    CategoryPanel3.Color := sSkinManager1.GetGlobalColor;
    CategoryPanel3.Font.Color := sSkinManager1.GetGlobalFontColor;
    end;

    This code sets up a TsCategoryPanel to look as if it were skinned; you could adapt this to suit your existing calendar controls perhaps. Please note though that this will just use the colors from the skin, it won't do the borders correctly or add gradients etc.

    Sorry I cannot be of more help but I think this is the best you will be able to achieve without a *lot* of dev work.

    Regards,

    Hamilton

    you were very helpful, thanks a lot, i will try this. If i find something in future then i will share.

    i still await for answer from one of AC developers for possibility to buy from them/receive in subscription a good skinned planner

    in reply to: Good TPlaner component #48595
    Wojciech Kmiecik
    Participant
    'Hamilton' wrote:

    I'd recommend DevExpress or TMS.

    thanks, i will think about this.

    do you have any screens with these components with alpha controls ? i will not change all components now just for fun or for one component…

    i am afraid of skinning abilities. We bought AC so we want to use all of its features

Viewing 3 posts - 1 through 3 (of 3 total)