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...

Comments

  1. Scoped enums? Yeah, thats on by default for FMX, been like that since XE2

    ReplyDelete
  2. Actually, can't you turn them off, or am I imagining that?

    ReplyDelete
  3. use clablack
    and then make sure you have the needed sources file in the uses
    I think its   System.UITypes,

    ReplyDelete
  4. Ok, lets do it. System.UITypes is on uses. Thank you. 

    Anyway, 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.

    ReplyDelete
  5. 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

Post a Comment