# The DOSFileLookup button does nothing on a non-MDI window (Reported, not reproduced)

**URL:** <https://forums.softvelocity.com/t/the-dosfilelookup-button-does-nothing-on-a-non-mdi-window-reported-not-reproduced/259>\
**Category:** Knowledge Base\
**Tags:** templates, reported-not-reprodu\
**Created:** [November 9, 2026, 12:25am UTC](https://forums.softvelocity.com/t/the-dosfilelookup-button-does-nothing-on-a-non-mdi-window-reported-not-reproduced/259 "2026-11-09T00:25:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 12:25am UTC](https://forums.softvelocity.com/t/the-dosfilelookup-button-does-nothing-on-a-non-mdi-window-reported-not-reproduced/259/1 "2026-11-09T00:25:27Z")

</div>

**Applies to:** posted in the Clarion 11 group; an ABC window, a modified non-MDI connect window in an app whose other windows are MDI children.

**Problem as reported**

On a non-MDI window the DOSFileLookup control template button did nothing when pressed. A STOP before and after the generated `FileLookup5.Ask(0)` call showed the dialog never appeared, and the second STOP was blank. A raw FILEDIALOG on a new button showed the first message and then hung. The target variable is a STRING(256). FILEDIALOG and the template both worked on the other windows.

**What the thread found**

- A reply said the template is a thin wrapper over FILEDIALOG, so call that directly to see what happens.
- Another suggested checking the generated code, a Message() before and after, a legal file name value (a blank one is fine, `'::::'` is not, nor some AUTO values), and CommDlgExtendedError() for the dialog's error code.
- A third could not reproduce it with the poster's window and FILEDIALOG code, and asked about changed BUILTINS.CLW, SYSTEM{PROP:FileDialogHook}, a third-party OCX, an AnyScreen app, and a manifest lacking the Common-Controls dependency.
- The poster had no manifest, no outcome was reached, and he gave up.

**Caveats**

- The raw FILEDIALOG test updates the variable on the window only with a copy and DISPLAY, because the window uses the LOC: variable.
- No test of the dialog on a non-MDI window versus an MDI one was run in the thread.

**Today (2026)**

Not reproduced. This entry records a 2021 report; a reader on a current build who sees the same behaviour, or who finds the cause, is asked to confirm or close it.

**Sources:** Esteban (Dec 2021, the question), Graham D. (Dec 2021), Carl B. (Dec 2021) in sv.clarion.clarion11.
