I want to create buttons depending on certain things!
So here is what I need:
fn myfunction=
(
...
for i=1 to IDcount do
(
dotnetcontrol ID_btn[i] "System.Windows.Forms.Button" width:20 height:60 pos:[27,i*153]
ID_btn[i].backcolor = (dotnetcolor 70 70 70)
ID_btn[i].flatstyle = dotnetobject "System.Windows.Forms.FlatStyle" Flat
ID_btn[i].text="1"
ID_btn[i].foreColor = (dotnetcolor 200 200 200)
)
)
How to make it work?
barigazy · 2013-04-28