Icons not found in imagelist in other (data) module

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37431
    HeDiBo
    Participant

    This is a project that contains two TsFileNameEdit controls:

    [attachment=8233:FileNameIconProblem.zip]

    The top one gets its images from an image list in another module (a data module).

    The lower one gets its images from a local image list.

    At design time you see no difference. But when you run the project the top one finds the property Images in the TsGlyphMode property being nil wacko.gif So it draws the default images. Whereas the lower one finds the imagelist correctly.

    This may be a bug in all components using the TsGlyphMode property.

    #56458
    Support
    Keymaster

    Thank you for the demo-app.

    DataModule is not created there, this is a reason why imagelist is not used.

    #56467
    HeDiBo
    Participant
    'Support' wrote:

    Thank you for the demo-app.

    DataModule is not created there, this is a reason why imagelist is not used.

    That was quite stupid of me blush.gif

    In my application the module with the images was not created.

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