PDA

View Full Version : Question about using FileNameAsk



kmmcdonald
06-05-05, 04:06 PM
I'm using FileNameAsk as shown below:

[VarDef, file, [FileNameAsk, ".ZBR", "OrthoProj"]]

However, when the 'Save' dialog appears, the default name is "OrthoProj.", i.e. with an extra period at the end. Is this expected behavior? I can strip it off using string functions of course, but wanted to see if there was a simpler alternative.

Thanks yet again,
Ken

marcus_civis
06-05-05, 11:42 PM
Try :

[FileNameAsk,"ZBR(*.zbr)|*.zbr||","OrthoProj.zbr","Please Save OrthoProjection file..."]