THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/12/2012 at 18:59, xxxxxxxx wrote:
Hi again guys..
I know how to get an icon loaded for a child item of a combobox when using GeDialog:
self.AddComboBox(prof_combo, c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, inith=20)
self.AddChild(prof_combo,prof_circle,"Circle&i"+str(c4d.OBJECT_SPLINECIRCLE) + "&")
self.AddChild(prof_combo,prof_square,"Square&i"+str(c4d.OBJECT_SPLINERECTANGLE) + "&")
but I can't figure out how to get the same behavior using a .res dialog file:
COMBOBOX prof_combo
{
ALIGN_TOP; ALIGN_LEFT; SIZE 150, 0;
CHILDS
{
0, PROF_CIRCLE;
1, PROF_SQUARE;
2, PROF_NSIDE;
3, PROF_STAR;
4, PROF_FLOWER;
5, PROF_CUSTOM;
}
}
whats the right way of doing it ?
Cheers