-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
known issueI know it and I hope to fix it sometime, but I can't right nowI know it and I hope to fix it sometime, but I can't right now
Description
Issue
will you be able to make the script when you press cancel, instead of closing the window, you go back 1 step. So many times I've clicked the wrong button which I want to go back 1 step but have to reapply script and redo all over again.
I know right.
Look at the source code. This function gets called when you cancel:
procedure LogInputqueryFault;
const
s = 'Sorry. HAD TO CLOSE, otherwise InputQuery acts weird and won''t get your input. Someday I''ll find a workaround to this problem, just not today.';
sp = '****************************************************';
begin
{
Sadly, DelphiScript is not full fledged Delphi. Even though DelphiScript supports
"out" variables, they seem to act somewhat weird under certain conditions.
It was my desire not to close the Form when user cancels an input, so to give
them a chance to try again, but InputQuery just starts acting weird when doing
so; it opens the message prompt with some Chinese characters in the edit box
and once it does that, I get blank values instead of what the user wrote.
It may be a problem on DelphiScript or it may be the way xEdit calls DelphiScript,
I don't know. Maybe some day I'll get to find a workaround for that problem.
In the meantime, this message tells the user I'm aware of this behavior and I
also think it's annoying.
}
AddMessage(sp);
AddMessage(s);
AddMessage(sp);
end;
Metadata
Metadata
Assignees
Labels
known issueI know it and I hope to fix it sometime, but I can't right nowI know it and I hope to fix it sometime, but I can't right now