Using FDGUIxLoginDialog - how do I detect that Cancel button is clicked

Hi
please - when using FDGUIxLoginDialog how can I detect that the cancel button has been clicked?
I am on XE6.
Have set the FDConnection.logindialog = FDGUIxLoginDialog
And I also got an access violation when I have this sequence of events:
Enter wrong password - click OK
Get the login dialog agian and the press cancel - and the access violation occurs.
Thanks in advance for any answers that might help mw solve this.
0
Jan
8/9/2015 3:03:02 AM
embarcadero.delphi.firedac 822 articles. 2 followers. Follow

2 Replies
1359 Views

Similar Articles

[PageSpeed] 22

The following links will give you ideas regarding handling login canceling:
* http://docwiki.embarcadero.com/RADStudio/XE8/en/Establishing_Connection_%28FireDAC%29#Handling_Connection_Errors
* http://docwiki.embarcadero.com/Libraries/XE8/en/FireDAC.Comp.UI.TFDGUIxLoginDialog.Execute

The described bug was fixed some time ago.

-- 
With best regards,
Dmitry Arefiev / FireDAC Architect
0
Dmitry
8/9/2015 4:29:49 PM
> {quote:title=Dmitry Arefiev wrote:}{quote}
> The following links will give you ideas regarding handling login canceling:
> * http://docwiki.embarcadero.com/RADStudio/XE8/en/Establishing_Connection_%28FireDAC%29#Handling_Connection_Errors
> * http://docwiki.embarcadero.com/Libraries/XE8/en/FireDAC.Comp.UI.TFDGUIxLoginDialog.Execute
> 
> The described bug was fixed some time ago.
> 
> -- 
> With best regards,
> Dmitry Arefiev / FireDAC Architect

Perfect!
Thanks a million.
0
Jan
8/11/2015 1:21:57 AM
Reply:

Similar Artilces:

How to detect if the 'cancel' button on Acrobat Reader's PDF print dialog window has been clicked when using Acrobat Reader ActiveX control in Powerbuilder 9
Product name: Acrobat Reader V5.0, Powerbuilder V9 Operating System: Windows XP I have an Acrobat Reader's ActiveX control on my window application to present and print PDF files. The application was developed using Powerbuilder V9. I need to know if a user has just printed a file then save the printed date into a database. The user can click the 'Cancel' button on the print dialog window from Acrobat Reader to cancel the printing. In this case I won't update the printed date. How can I know if the user has clicked the 'Cancel' button to cancel the printing? ...

How to capture when user click cancel button if I use javascript window.print
I am using "print this page" button with the event onclientclick="javascript:window.print()" to print a document. I need to save data after a document really print. i need to capture if the user click on cancel button   Hi thoutam Before I go deeper with your question,I want to make sure,you want to save the data to where,and the cancel button is for what? Thanks code for fun----------------Don't forget to mark it as Answer if it's useful for you Hi,try thisfunction PrintFunction(){    if (confirm('Are you sure to ...

superreview cancelled: [Bug 253944] enablePrivilege dialog uses "Yes" and "No" as button labels : [Attachment 156223] use OK/Cancel
Steffen Wilberg <steffen.wilberg@web.de> has cancelled Steffen Wilberg <steffen.wilberg@web.de>'s request for superreview: Bug 253944: enablePrivilege dialog uses "Yes" and "No" as button labels http://bugzilla.mozilla.org/show_bug.cgi?id=253944 Attachment 156223: use OK/Cancel http://bugzilla.mozilla.org/attachment.cgi?id=156223&action=edit ...

How can mentain template field default values in a detailsview on clicking cancel button. my problem is that the cancel button clears even the default values in readonly textboxes.
Hi i have a detailsview whose defaultmode is set to insert. In this detailsview insertitem template, i have a textbox which is readonly and its default text is the current system date. Since a detailsview whose defaultmode is insert displays Insert command and cancel command in its command row, when i user makes a mistake and decides to click cancel, all my default values(current date) in the template field is cleared. The problem is that this date textbox is readonly and reqiured. so when my date value is cleared on concel, the user gets stuck becuase they cant type the date ...

superreview requested: [Bug 340373] Escape key should cancel "send in Unicode (UTF-8)?" dialog : [Attachment 226042] use button 1 for cancel instead of button 2
Gavin Sharp <gavin.sharp@gmail.com> has asked for superreview: Bug 340373: Escape key should cancel "send in Unicode (UTF-8)?" dialog https://bugzilla.mozilla.org/show_bug.cgi?id=340373 Attachment 226042: use button 1 for cancel instead of button 2 https://bugzilla.mozilla.org/attachment.cgi?id=226042&action=edit ------- Additional Comments from Gavin Sharp <gavin.sharp@gmail.com> commonDialog.js sets the cancel button to the button at index 1 in the button flags, so POS_1 should be used for the cancel button. The only implementation that I tested was the...

superreview granted: [Bug 340373] Escape key should cancel "send in Unicode (UTF-8)?" dialog : [Attachment 226042] use button 1 for cancel instead of button 2
David Bienvenu <bienvenu@nventure.com> has granted Gavin Sharp <gavin.sharp@gmail.com>'s request for superreview: Bug 340373: Escape key should cancel "send in Unicode (UTF-8)?" dialog https://bugzilla.mozilla.org/show_bug.cgi?id=340373 Attachment 226042: use button 1 for cancel instead of button 2 https://bugzilla.mozilla.org/attachment.cgi?id=226042&action=edit ...

superreview requested: [Bug 340373] Escape key should cancel "send in Unicode (UTF-8)?" dialog : [Attachment 226042] use button 1 for cancel instead of button 2 #2
Gavin Sharp <gavin.sharp@gmail.com> has asked David Bienvenu <bienvenu@nventure.com> for superreview: Bug 340373: Escape key should cancel "send in Unicode (UTF-8)?" dialog https://bugzilla.mozilla.org/show_bug.cgi?id=340373 Attachment 226042: use button 1 for cancel instead of button 2 https://bugzilla.mozilla.org/attachment.cgi?id=226042&action=edit ...

Using javascript to set button default or making a button click
I have searched the internet for this and have not found complete answers on how to do this. It should be very simple. I have two textboxes and two buttons. When the textbox1 either gets focus (or has its text changed, whichever i can do) and I press enter I need to have button1 clicked. When the textbox2 either gets focus (or text changed) and I press enter I need button2 clicked. I tried doing this with autopostback but it clicks the button when the textbox loses focus, which I do not want, so i need to make sure the enter button is pressed. I also need an example of how to add t...

Using Button Click Event Handler in contentPlaceHolder
Hi ASP.NET Experts, Hopefully, on you can help with this issue as I am STUCK......as I am fairly new to ASP.NET and thet use of Masterpages. Bascially, I have a web page that has a Treeview that controls the display, update of a DetailsView of various datatable records. This works O.K. on its own (i.e. not using Masterpages). therfore, I have set up a rudimentary Masterpage using the ASP.NET "How To" video guides. This works fine more or less. however when I have then attempted to put the event handler code and markup in the the nominated contentPaceholders m...

superreview cancelled: [Bug 331055] Add a repeating button : [Attachment 215782] This patch doesn't change the button frame, and uses the syntax <button type="repeat"/>
Neil Deakin <enndeakin@sympatico.ca> has cancelled Neil Deakin <enndeakin@sympatico.ca>'s request for superreview: Bug 331055: Add a repeating button https://bugzilla.mozilla.org/show_bug.cgi?id=331055 Attachment 215782: This patch doesn't change the button frame, and uses the syntax <button type="repeat"/> https://bugzilla.mozilla.org/attachment.cgi?id=215782&action=edit ...

How do I invoke the button's click event using using VB.Net
I am programming VB.Net for my ASP.net project. Can anyone tell me how do I code the "button" server control to invoke the click event? I believe one line of VB code would do. It didn't work when I try btnButton.Click() ???? Thank You! You can always call btnButton_Click(Me, EventArgs.Empty) If I remember correctly. This assumes you have a btnButton_Click(sender as Object, e as EventArgs) sub somewhere in your page. Greg You can also do btnButton_Click.PerformClick() !Jarod Sorry... Forget... The PerformClick method exist only for windows forms b...

button click click click sound!
Ok stupid question time!Could somebody tell me if it is possible to remove the 'click' sound a button makes when you click on it?The image button doesn't do this. Only normal and linkbuttons. (Ok, auto-postback on dropdownlists do this as well!)I'm busy building a internal system using ATLAS which makes for an awesome experience.However the button click sound is giving it my secret away and killing mah magic! It's a client thing, not a server thing... Dont use a standard button, use your own control with onmousedown or some such.... The sounds are determined by t...

Detecting button clicks
I am new to ASP.NET and I have a simple question that I would like to ask. In my page, I have created 3 buttons; Btn1, Btn2 & Btn3. All three of these buttons have the same onclick event. Therefore, in this onclick event, I want to write a simple script to identify which is the button clicked. How can I do this? Thanks in advance. Use the 'sender' parameter of the event handler: public void TheEvent(object sender, CommandEventArgs e) Compare the sender value with the button instances (Btn1, Btn2, Btn3). Another (better) way to do it is by using the CommandName of the butto...

Firing a Button Click Event and Ajax Animation (using the AnimationExtender) on a single button
I want to run an animation and some code behind on a button, however whenever I click the button the animation will not work. I take the code behind away and the animation works. Help! I have encountered similar problems to this before with animations, assigning "return false;" on the OnClientClick of whatever buton is triggering the animation woul solve the problem, however I don't think I can do that here because I need C# code to run in the back as well.  I think I solved my own problem here, so I will just post my solution here for the other guys just as new to ...

Web resources about - Using FDGUIxLoginDialog - how do I detect that Cancel button is clicked - embarcadero.delphi.firedac

Resources last updated: 12/23/2015 9:33:39 PM