Well, first of all, you probably want to display it in a TEdit field as it is not a data-aware object.
The TOpenDialog component is just the standard windows open dialog that you see on almost any program. You implement it with it's Execute function. If you person selects a file w/ "Ok" then Execute returns true, else it returns false. Then you access the file path with the FileName property. This property is an AnsiString so you can directly assign it to the Text property of an Edit control.
Good luck,
onrdbandit
No! Try not. Do, or do not. There is no try. - Yoda
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.