is it possible to keep the last file selected in dialog box "vpiCommonDialogs::getFileName"

Discussions related to Visual Prolog
marco62118
VIP Member
Posts: 88
Joined: 16 Feb 2011 19:21

is it possible to keep the last file selected in dialog box "vpiCommonDialogs::getFileName"

Unread post by marco62118 » 24 Oct 2011 6:06

hello
is it possible to keep the last file selected in dialog box "vpiCommonDialogs::getFileName"
Novice, very novice in Visual Prolog and even poorer in English

Steve Lympany
VIP Member
Posts: 119
Joined: 31 Mar 2001 23:01

Unread post by Steve Lympany » 24 Oct 2011 7:57

Hi,

Code: Select all

facts    zz_last_file:string. clauses     test():-        zz_last_file:=vpiCommonDialogs::getfilename(zz_last_file,.....).
regards
Steve

marco62118
VIP Member
Posts: 88
Joined: 16 Feb 2011 19:21

Unread post by marco62118 » 24 Oct 2011 8:59

hello
thank you
the name of the old file is well in the line "initMask" but it is not highlighted in the list of files
Novice, very novice in Visual Prolog and even poorer in English

Post Reply