Search the Community
Showing results for tags 'prompt'.
-
TLedgerTypesForm = class(TUniForm) ... procedure PromptLedgerType(Sender: TComponent; AResult: Integer; AText: string); ... procedure TLedgerTypesForm.btnProcessClick(Sender: TObject); begin Prompt('Ledger Name:', '', mtInformation, mbOKCancel, PromptLedgerType); // Prompts as expected ... procedure TLedgerTypesForm.PromptLedgerType(Sender: TComponent; AResult: Integer; AText: string); // Never fires begin if AResult = mrOK then begin ... I cannot understand why PromptLedgerType is never called ? I believe all procedures are declared correctly - am I having a seniors moment - please advise - thanks.
-
I use Prompt to fetch a challenge password Prompt('@*Challenge: ', s, mtInformation, mbOKCancel, PromptP); please advise how to stop Chrome from trying to save password ? I cannot see a way to locate the prompt edit box to make read only after user clicks OK etc.
-
Hello Can someone please guide me how to have the value entered by a client in a Prompt window on the server side? I have a Prompt window which is in a OnClick event of a button. So, after a user click's a button, depending on some conditins, a prompt will appear and after the user write a text in the prompt window in the browser and hits OK button, I wanna do something with entered text, before the OnClick event is finished. Something like: procedure TMainForm.ubtnClick(Sender: TObject); begin if TUniButton(Sender).Tag = 1 then DoSomething() else Prompt('AMessage', '', mtInformation, .....????.....); //and here I would like to have the text introduced by the user into the prompt window end; Thank you
-
I want to change the Font of Message Text in ShowMessage() and MessageDlg() Font size, Font name, etc. And Prompt() procedure has two fields, MessageText and Input Field. Can I change the Font of them? I want to know how to change the Font of 3 procedures. I use regular version 0.99.96.1317 Best Regards.
- 5 replies
-
- Font
- ShowMessage
-
(and 2 more)
Tagged with: