Tekil Mesaj gösterimi
Alt 10-01-2020, 11:34   #1
Derbeder - ait Kullanıcı Resmi (Avatar)
Üyelik Tarihi: Jan 2017
Mesajlar: 385
Beğendikleri:
Beğeni Puanı:
Tecrübe Puanı: 10
klavyeciler
Türkiyenin En Büyük, Müzisyen Paylaşım Forumu Ritim Set Ses Sampleler Korg Türkiye Yamaha Ketron Roland Gem Md Karaoke altyapı Korg Ritim Set Yamaha Pack


Standart Nki Çalışmalarında Reklam Alanı

Evet arkadaşlar 5 parçalı yanyana resim boyutları xy dir kendinize göre düzenleyin

bununla bir sonrakinin proje tanıtımını yapabilrsiniz...


Kod:
on init
 
 make_perfview
 set_control_par_str(INST_ICON_ID,CONTROL_PAR_PICTURE,"icon")
 set_ui_height(10)
 set_ui_color(9)

 declare x := 130 
 declare y := 50  
 declare anim := 0
 declare id

 declare ui_label Hakkinda(1, 2) {Arkaplan için foto koyma}
 Hakkinda -> text :=""
 Hakkinda -> width :=400
 Hakkinda -> height :=250
 Hakkinda -> pos_x := x - 25
 Hakkinda -> pos_y := y - 25
 Hakkinda -> picture :="" 
 Hakkinda -> hide := HIDE_PART_BG 
  make_persistent(Hakkinda)

 declare ui_label Animasyon(0, 0)
 Animasyon -> text :="" 
 Animasyon -> pos_x := x 
 Animasyon -> pos_y := y 
 Animasyon -> picture :="Animation"
 
 

 declare ui_button button 
 button -> text :=""
 button -> width :=30
 button -> height :=30
 button -> pos_x := x + 450
 button -> pos_y := y + 245
 button -> picture :="btn"
 button := 0
 

end on
 
on ui_control ($button) 
if(button = 0)
id := NI_CALLBACK_ID
while (button = 0 and anim<5)
Animasyon -> picture_state := anim
wait(100000)
inc(anim)
if (anim = 5)
    anim := 0
end if
end while
else
stop_wait(id, 1)
anim := 0
end if
end on

Konu Derbeder tarafından (13-03-2020 Saat 17:48 ) değiştirilmiştir.
Derbeder isimli Üye şimdilik offline konumundadır  
Alıntı ile Cevapla