so i have in one folder txt files that are loaded (names)
upon dialog init in Listbox control (id 3)
and when i click on name of txt file in Listbox
i wish it to load its content in Edit control (id 4)

i have this but i dont understand why it wont load
content of a file...

Code:
on *:dialog:dialog_name:sclick:*:{ 
  if (did == 3) { loadbuf -o $dname 4 $mircdirnotes\ $+ $did($did).seltext $+ .txt }
}


any suggestions ?


The harder I chase my dreams the more I experience the time for smiles and tears...