avsfilms
10-18-2007, 10:55 PM
Hey there, I am fairly new to this software and was wondering if someone could help me out.
Basically I want the user to click on a button that will take them to a "File Browse" window so that they can select the file to delete.
First of all, can i change the button so it doesn't say "Open"? Can I change it to "Select" or "Select Event"?
If not, it doesn't matter. But anyway, I have the program run the following code:
evntloc = Dialog.FileBrowse(true, "Select Event to Delete", "C://Program Files//AVS Project Planner//prog//", "Event Files (*.txt*)|*.txt*|", "", "txt", false, true);
Input.SetText("Input2", evntloc);
But upon running the program, I get a "On Click, Line 3: attempt to concatenate global `eventloc' (a table value)"
How can I get it to not give me that error and place the path they selected into a blank input object?
Thank you for your time, I appreciate it!
Basically I want the user to click on a button that will take them to a "File Browse" window so that they can select the file to delete.
First of all, can i change the button so it doesn't say "Open"? Can I change it to "Select" or "Select Event"?
If not, it doesn't matter. But anyway, I have the program run the following code:
evntloc = Dialog.FileBrowse(true, "Select Event to Delete", "C://Program Files//AVS Project Planner//prog//", "Event Files (*.txt*)|*.txt*|", "", "txt", false, true);
Input.SetText("Input2", evntloc);
But upon running the program, I get a "On Click, Line 3: attempt to concatenate global `eventloc' (a table value)"
How can I get it to not give me that error and place the path they selected into a blank input object?
Thank you for your time, I appreciate it!