Thank you very much Blaazen
already noticed these controls and tryed to implement checkboxes acording to their sources,
but i'm stil learning lazarus and free pascal
and failed badly
the best result i had was with a frame, edit, a button and checklist align them and swich the parent and visible property at runtime .
this aproach fails when i'm trying to get the corect screen position,
clienttoscreen and screentoclient seem to be wrong when a frame is in another control (toolbar or groupbox).
Also tried popups searched for events like DrawMenuItem or props like OwnerDraw but nothing.