Hello,
i've a problem with poppath...
i would like to select a drawer and add it in a lister.
The problem in the poppath i can select a drawer entry AND a file entry... (under MorphOS)
When i add the drawer in the lister i have 2 entries... first for drawer and a second (blank) for the file not selected...
If i click on this second blank entry in the lister, seems i have the root path.....
Problem with poppath
Re: Problem with poppath
Ok i have found the problem
i would like delete the path in the poppath after have added the drawer in the lister with this command:
moai.set("path0", "path", "")
path0 is the id of the poppath
but in fact it create a new blank entry in the lister after the first entry (drawer selected) like the "root" drawer...
Any idea if it's a bug ?
Do you have another solution to remove the path name after have added the path drawer in the list please?
i would like delete the path in the poppath after have added the drawer in the lister with this command:
moai.set("path0", "path", "")
path0 is the id of the poppath
but in fact it create a new blank entry in the lister after the first entry (drawer selected) like the "root" drawer...
Any idea if it's a bug ?
Do you have another solution to remove the path name after have added the path drawer in the list please?
Re: Problem with poppath
As you most likely have set a notification for the poppath, it will trigger every time the contents of the poppath string changes. In this case the notification will get triggered when you change the contents to an empty string too.
But luckily you can disable notifications with MOAI.NoNotify when you change contents manually:
Code: Select all
moai.set("path0", "path", "", "nonotify", true)
Re: Problem with poppath
Ha ouf!!!
i think there was a problem with RapaGui.
Thanks a lot jPV!!!
i think there was a problem with RapaGui.
Thanks a lot jPV!!!