Click to See Complete Forum and Search --> : Keep file path in a textbox untill any user modify the path


dnarsain
February 21st, 2009, 08:58 AM
I am using Visual C++ 2005, working with CLI Windows Form Application.

I have managed to get FilePath into a TextBox using a Browse button. I need the value of the TextBox to be same untill a user inputs new FilePath using Browse button.

I have an "Apply" button to confirm the settings. . .


Please help. . .

cilu
March 14th, 2009, 08:11 PM
As far as I understand what you're saying, what you want to do is preventing users changing the content of the text box by other means than manually selecting a file with the browse button. So, make the text box with the file path read only. ;)