Search the Community
Showing results for tags 'tdialogservice'.
Found 1 result
not sure if others are having this issue with Rad Studio 11.1 seems when you call TDialogService.InputQuery and want to get a user input string it acts really strange, the ok button acts as the cancel button and the cancel button acts as the ok button and the value of the input from the user can't be obtained? TDialogService.InputQuery('Please Enter Search Term', ['Info'], [search_word], procedure (const AResult : TModalResult; const values: array of string) begin if AResult<.mrOK2 then exit; // Exit; NewString:=Values; // gets the value of the string input from the user end // end of dialog code ); // final end any help would be kindly appreciated.