I am a Clarion newbie and I am having two problems with the FILEDIALOG command
-
It is too narrow to display the full path, and it looks like it was borrowed from 16-bit Windows
-
When I click the “OK” button I have to do so twice. The “Cancel” button works correctly.
Here is part of my code:
OPEN(MyWindow)
ACCEPT
CASE FIELD()
OF ?FolderButton
CASE EVENT()
OF EVENT:Accepted
BrowseBase = GETINI('Fixer', 'Project',PATH() & '\',PATH() & '\Fixer.ini')
FILEDIALOG('Choose Project Folder',BrowseBase,,FILE:Directory)
IF ~BrowseBase
BrowseBase = PATH()
END
IF BrowseBase[LEN(CLIP(BrowseBase))] ~= '\'
BrowseBase = BrowseBase & '\'
END
PUTINI('Fixer', 'Project', BrowseBase,PATH() & '\Fixer.ini')
END
Is this a known problem?
Can I use the current Windows File Dialog instead, without jumping through too many hoops?