Forum Replies Created
-
AuthorPosts
-
Lasse
ParticipantOk, if your example code works, I will check it. I didn’t test it, my code is almost same.
Lasse
ParticipantThe issue is exactly same. I am dynamically loading the content like you did in your example code.
January 27, 2020 at 11:23 am in reply to: v15.00 Beta ActionList with TsCharImageList is giving Stream Read error #68319Lasse
ParticipantThat Bitmap property is empty in v15.00 beta…
Attachments:
You must be logged in to view attached files.Lasse
ParticipantLasse
ParticipantOh, I just need to select colors again for the font items. No big deal. The color code is different in v15.00.
Lasse
ParticipantI created a small demo with same kind of frames and it works. I will try to figure out what causes this.
Lasse
ParticipantDelphi's common variable UseLatestCommonDialogs (in Vcl.Dialogs.pas) is True by default. So, it is not so wrong now but I understand that change of behaviour is not always a good thing…
Lasse
ParticipantWell, it is a common variable, so it can be set in your program code.
Lasse
ParticipantOh, there is common variable acAllowLatestCommonDialogs in sDefaults.pas. By setting that to false, dialogs are fine.
Lasse
ParticipantI noticed the same with save dialog…
Lasse
Participantand the button must be TsButton, works only with TButton now…
Lasse
ParticipantTrue, see the code, it tells what the problem is.
Lasse
ParticipantOh, that seems to be a bug in VirtualTree. Setting a property like that is not a good idea.
Lasse
ParticipantIt is. This was the first message: “When we set a TsAlphaImageList as image list of TVirtualTreeView component, it only shows grayed images and doesn't show colored images.”.
This issue happens only with virtual tree. I try to find time to create a small demo.
Lasse
ParticipantI commented out following lines from acAlphaImageList.pas to fix this for now…
1308: //if BlendColor clNone then
1309: // ChangeBitmapPixels(Result, ChangeColorTone, acColorToRGB(BlendColor), clFuchsia);
Hmm, in my ImageList BlendColor property is clNone… it should not go there.
Lasse
ParticipantThis issue still exists in version 14.24. Random icons have color and selected icon is quite black…
Lasse
ParticipantThere is no reason to free an object if it is already nil (that would be an AV). That causes a part of that memory leak. Another part comes from the string list that is created twice.
Code:if ColorsHolder nil then
ColorsHolder.Free;Would make sense but ColorsHolder = nil does not… I rather use Assigned and not Assigned than nil and = nil…
Lasse
ParticipantIt might be so indeed. I will test some skins.
Lasse
ParticipantOk, good to know. Yes, that is perfect now.
I think it is not a good idea to have that border width as a skin option. It is ok, when you only use one skin in your application. But if you let users to choose the skin then your application borders look different and it is quite a painful to fix those borders skin by skin in code.
Lasse
ParticipantWell, I tried that also but it is not working with MetroUI skin (see attachment). Some other skins seem to work differently. That border does not look good with status bar… TsStatusBar is slightly better thou but still that border feels too wide. I choose another skin, no problem.
-
AuthorPosts