Why is this proving so difficult?
Im trying to ad items to the Icon List extension... using the file object, as i am adding files to the list, so i have it so theres a button you press it and it opens the file selector from the file obejct, and then what event should you use to check when the OK button has been pressed, because if you use the last ok, it just adds biddilions of icons in the list... if you set that to only one action when event loops, it does it once and once only. And the same thing happens if you use the "name is a file" event? why is there not a "Ok button was pressed" would make things so much easier?
Amnyone able to help on this one?
Thanks
Gib
Re: Why is this proving so difficult?
I agree this condition is missing... You can test if the filename of the selected file is empty or not. If it's empty, then the Cancel button has been clicked. If it's not empty, then the OK button has been clicked.
Yves.