Recent

Author Topic: Red Poker Chips  (Read 3000 times)

guest48180

  • Guest
Red Poker Chips
« on: May 25, 2018, 09:11:02 pm »
I never noticed before that there are red poker chips on top of some of my components. What do they represent/mean?

jamie

  • Hero Member
  • *****
  • Posts: 6077
Re: Red Poker Chips
« Reply #1 on: May 25, 2018, 11:03:53 pm »
It's a gamble to use ?  :)
The only true wisdom is knowing you know nothing

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Red Poker Chips
« Reply #2 on: May 25, 2018, 11:21:32 pm »
Red poker chips? You mean the red box in the icon of, for example, MainMenu1?

The icons roughly indicate the class of the items in the component tree view of the object inspector (see procedure TComponentTreeView.GetImageFor in (lazarus)/components/ideintf/componenttreeview.pas, and images in (lazarus)/images/componenttreeview):
  • form --> image oi_form.png
  • control which accepts other controls (e.g. TPanel) --> image oi_box.png
  • "normal" control --> image oi_control.png
  • component (e.g. TMainMenu) --> image oi_component.png
  • collection (e.g. dataset TFieldDefs--> image oi_collection.png
  • persistent (collection item, e.g. TField) --> image oi_item.png

guest48180

  • Guest
Re: Red Poker Chips
« Reply #3 on: May 26, 2018, 04:53:00 am »
wp:

Thanks for explaining that. But those red poker chips in the provided pic don't look like boxes to me :-) 

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Red Poker Chips
« Reply #4 on: May 26, 2018, 04:07:51 pm »
wp:

Thanks for explaining that. But those red poker chips in the provided pic don't look like boxes to me :-)
Zoom it, your monitor might have too high resolution. At 1366x768, I can still see the boxes very well ;)

guest48180

  • Guest
Re: Red Poker Chips
« Reply #5 on: May 26, 2018, 06:08:41 pm »
Leledumbo: I zoomed and saw. They're indeed red boxes. But what do they represent / signify? Some components have them, some do not.

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: Red Poker Chips
« Reply #6 on: May 26, 2018, 07:07:05 pm »
This is the problem of all the icons, in particular if they represent some kind of "abstract" object. Here I think the idea is: A component is "composed" of several "parts". Each "part" is represented by a colored block like a LEGO block from which children (and their parents) can create many things.

guest48180

  • Guest
Re: Red Poker Chips
« Reply #7 on: May 26, 2018, 07:55:25 pm »
Abstract objects. Works for me :-)

 

TinyPortal © 2005-2018