BlackMaestro1983 В свойствах кнопки OnClick пишешь:
sel = ComboBox.GetSelected("ComboBox1");
sele = ComboBox.GetSelected("ComboBox2");
if sele == 1 then
if sel == 1 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
elseif sel == 2 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
end
elseif sele == 2 then
if sel == 1 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
elseif sel == 2 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
end
end
Так же можно написать в свойствах комбобокса OnSelect, немного изменив...
Надеюсь разберешься
sel = ComboBox.GetSelected("ComboBox1");
sele = ComboBox.GetSelected("ComboBox2");
if sele == 1 then
if sel == 1 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
elseif sel == 2 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
end
elseif sele == 2 then
if sel == 1 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
elseif sel == 2 then
Image.Load("Image1", "AutoPlay\\Images\\indigorose.png");
end
end
Так же можно написать в свойствах комбобокса OnSelect, немного изменив...
Надеюсь разберешься
