i would like to desactivate a button for z specific entry in a listview. This my code but don't work
Code: Select all
Switch msg.action
Case "RapaGUI"
Switch msg.Class
Case "Listview":
Switch msg.Attribute
Case "Active":
Local a1$, a2$, a3$, a4$, a5$, a6$, a7$, a8$ = moai.domethod("listview", "getentry", "active")
If a1$ = "https://www.morphos-storage.net/development/library/SDL_2.26.5_Librairies.lha"
moai.set("modifydestpath", "disabled", true)
Endif
Endswitch
Endswitch