bjr je peut te propose ce code
[code]combo 7
top 7,5
left 7,1010:width 7,200
item_add 7,"Browser"
item_add 7,"Boutton"
item_add 7,"Dropzone"
item_add 7,"Grabzone"
item_add 7,"Logo"
item_add 7,"Multibutton"
item_add 7,"Panel"
item_add 7,"Rhythm"
item_add 7,"Scratch"
item_add 7,"Slider"
item_add 7,"Songpos"
item_add 7,"Textzone"
item_add 7,"Video"
item_add 7,"Visual"
on_click 7,type
end
type:
objet=item_index(7)
select objet
case 1:goto Browser
case 2:goto Boutton
case 3:goto Dropzone
case 4:goto Grabzone
case 5:goto Logo
case 6:goto Multibutton
case 7:goto Panel
case 8:goto Rhythm
case 9:goto Scratch
case 10:goto Slider
case 11:goto Songpos
case 12:goto Textzone
case 13:goto Video
case 14:goto Visual
end_select
return
[/code]
extrait de mon projet
la case correspond en fait au num du combo selectionné