TsColorBox error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36587
    Lasse
    Participant

    Add TsColorBox on the form and you get “Control '' has no parent window.” error.

    I am using Delphi XE8 with the latest build.

    constructor TsCustomColorBox.Create(AOwner: TComponent);

    begin

    inherited Create(AOwner);

    inherited Style := csExDropDownList; <= This is causing the error. … Not sure, if related, but the Color property does not return the selected value.

    #53651
    Support
    Keymaster

    What is version of used package?

    The “Color” property is a just standard property inherited from standard ComboBox component.

    Selected color value may be received in the “Selected” property.

    #53652
    Lasse
    Participant

    Version is the latest 10.12 (Delphi XE8).

    Thanks, “Selected” property works fine.

    #53654
    Support
    Keymaster

    Can you show a demo with the error, please? I can't repeat it, unfortunately.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.