How do I get the color of the created bitmap to use the color chosen in the Color Picker? It seems like it should be something simple but I am unable to figure it out. Help would be appreciated. Thanks
John
rollout color1 "color"
(
colorpicker theColor "Bar Color: " color:[0,0,255] modal:false
button btnMake "Make" width:140 height:24
on btnMake pressed do
(
bm1=bitmap 100 100 color:red
pasteBitmap bm1 bm1 (box2 0 0 25 50) [100,100]
display bm1
)
)
createDialog color1 150 60
By JokerMartini · 2010-04-29
Admin · 2010-04-30