summaryrefslogtreecommitdiff
path: root/examples/gui/filedialog
diff options
context:
space:
mode:
authorAndrew Haines <andrewd207@aol.com>2015-02-01 23:17:27 -0500
committerAndrew Haines <andrewd207@aol.com>2015-02-01 23:17:27 -0500
commitd351655a167dc6afe70ed659561ef8b3a4019305 (patch)
tree3843e8f137929b13a74ba787ec6f9f5541fc2427 /examples/gui/filedialog
parentc7fc66e330b4665843e195436e7e5095de5dbdfc (diff)
parent0955cc8f881782e1565447f04a0afb774e1237aa (diff)
downloadfpGUI-d351655a167dc6afe70ed659561ef8b3a4019305.tar.xz
Merge branch 'develop' of https://github.com/graemeg/fpGUI into develop
Fixed xml conflicts of lpi's manually Conflicts: examples/gui/filedialog/filedialog.lpi examples/gui/modalforms/modalforms.lpi
Diffstat (limited to 'examples/gui/filedialog')
-rw-r--r--examples/gui/filedialog/filedialog.lpi7
-rw-r--r--examples/gui/filedialog/filedialog.lpr1
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/gui/filedialog/filedialog.lpi b/examples/gui/filedialog/filedialog.lpi
index 359ca76e..f6efbd83 100644
--- a/examples/gui/filedialog/filedialog.lpi
+++ b/examples/gui/filedialog/filedialog.lpi
@@ -41,6 +41,12 @@
</ProjectOptions>
<CompilerOptions>
<Version Value="11"/>
+ <Target>
+ <Filename Value="filedialog"/>
+ </Target>
+ <SearchPaths>
+ <UnitOutputDirectory Value="units"/>
+ </SearchPaths>
<Parsing>
<SyntaxOptions>
<UseAnsiStrings Value="False"/>
@@ -48,6 +54,7 @@
</Parsing>
<Other>
<CustomOptions Value="-FUunits"/>
+ <CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
</CONFIG>
diff --git a/examples/gui/filedialog/filedialog.lpr b/examples/gui/filedialog/filedialog.lpr
index 7ea47bed..1294ac06 100644
--- a/examples/gui/filedialog/filedialog.lpr
+++ b/examples/gui/filedialog/filedialog.lpr
@@ -105,6 +105,7 @@ procedure TMainForm.btnUserInputClicked(Sender: TObject);
var
lAnswer: TfpgString;
begin
+ lAnswer := '';
if fpgInputQuery('Caption here', 'And the prompt goes here', lAnswer) then
ShowMessage(Format('User entered <%s>', [lAnswer]));
end;