Really I have to do that:
Really I have to do that:
myLabel.FontColor := System.UITypes.TAlphaColorRec.Black
or at least myLabel.FontColor := TAlphaColorRec.Black
??? this is very boring...
myLabel.FontColor := System.UITypes.TAlphaColorRec.Black
or at least myLabel.FontColor := TAlphaColorRec.Black
??? this is very boring...
What about just clBlack?
ReplyDeleteOr indeed claBlack
ReplyDeleteScoped enums? Yeah, thats on by default for FMX, been like that since XE2
ReplyDeleteActually, can't you turn them off, or am I imagining that?
ReplyDeleteclBlack will not work...
ReplyDeleteuse clablack
ReplyDeleteand then make sure you have the needed sources file in the uses
I think its System.UITypes,
Ok, lets do it. System.UITypes is on uses. Thank you.
ReplyDeleteAnyway, why they change that, or dont will accept cl[Color] types, at end of history are all numbers! If cla[Color] type is greater than old cl[Color], they could had migrated the smaller to the bigger and no one should have to deal with this.. well, that's what I think and my opinion is limited about what I know.
They are different types, although they might take the same space, I believe the idea is to separate the colour types that support the alpha channel from those that don't, the two are not exactly interoperable
ReplyDelete