Files List
ဒီ Example မွာ
FileListFiles ကေန File ေတကို List အျဖစ္နဲ႕ ဖတ္ပီး List View နဲ႕ ထိုးျပတာကို နမူနာေပးပါမယ္။
--------- In Main Code Selection -----
AddListView("lv",0,0,100%x,100%y,"")
a = FileListFiles(DirStorage)
for i = 0 to GetListSize(a) - 1
Add("lv",GetListItem(a,i))
Next
---------- Event & Sub Selection ---------
Sub ListView_ItemClick(who, pos, value)
MsgBox(value)
End Sub
No comments:
Post a Comment