Material dialog after clicking on some control in form.

Hi.

I would like to have a textbox with material of a part. It is done. But when I click on this textbox I would like to see this usual list for editing material and with some favorites materials. Anyone know how to realize this? I hope it is one simple method...

Michał

SolidworksApi macros