junioreq
11-11-2010, 12:08 AM
Using this code,because Iplug shows "0" instead of "0.0" in the text/caption controls:
GetParam (kWidth)->InitDouble ("Width",1.0,0.0,3.0,0.01,"");
GetParam (kWidth)->SetDisplayText (0.0,"MONO");
Shows "MONO" at any value under 1.0 and when I right click on the control, I get a weird dropdown menu haha for some reason:
http://stash.reaper.fm/oldsb/436090/menu.PNG
Also, I'd use textcontrols, but they only take strings and you cant pass in parameters. And I don't want to be converting sprintf every darn control.
~Rob.
GetParam (kWidth)->InitDouble ("Width",1.0,0.0,3.0,0.01,"");
GetParam (kWidth)->SetDisplayText (0.0,"MONO");
Shows "MONO" at any value under 1.0 and when I right click on the control, I get a weird dropdown menu haha for some reason:
http://stash.reaper.fm/oldsb/436090/menu.PNG
Also, I'd use textcontrols, but they only take strings and you cant pass in parameters. And I don't want to be converting sprintf every darn control.
~Rob.