I want to automate login to a website.
The application is cross-platform, therefore I use Firemonkey.
The solutions for the old TWebbrowser unfortunately, don't work anymore.
And I don't know how to click buttons, fill in forms, read data with FMX.TVWebbrowser.
How to do it?
Related
I needed a control with Run, Stop and Step buttons and thought I would put a TMediaPlayer to work. It has the buttons I need and I can control the enables and use of colour.
If I drop one onto a form and compile and run - the buttons are all disabled. I unchecked the AutoEnable property and now the buttons are enabled when I run, but as soon as I click any of them I get an error No MCI Device Open.
I get that it's a media player and I haven't told it anything about any media, but is there a way of getting it to run in a media-free environment?
If your question is whether you can use TMediaPleyer buttons to control other things then I'm afraid the answer is NO.
The mentioned buttons are part of TMediaPlayer component itself and are only designed to control the Media Control Interface (MCI) driver.
Their purpose is to make working with MCI driver much easer as you don't need to link bunch of your buttons to the TMediaPleyer component as you would have to do otherwise.
So I'm afraid you will have to make your own set of buttons to do your thing.
You might want to learn about TRadioButton to see how to group multiple buttons together in a way so that only one of them can be pressed down at one time to mimic some functionality of TMediaPlayer buttons.
For an Application I need the user to be disabled to click on a specific window, while he is still able to use a window, which is in front of the other window.
In Delphi, this works perfectly fine with
ExampleForm.Enabled:= False;
but in Firemonkey it seems as if the enabled property does'n exist anymore. As well, it would be really helpful if it could disable the keyboard inputs etc. as well. I would really appreciate a solution for that problem, thanks for your time!
PS: I use the Delphi 10.3 Version
In Firemonkey, you're typically expected to implement all of your controls inside of a TLayout or one of its descendants such as TGridLayout. As long as all of your controls are in there, you can disable its Enabled property. The form is really just a container and not the same type of control in FMX as it is in VCL.
I have a requirement to allow users to tab around a Delphi application screen in a certain order. This is fine for almost everything, except that I can't seem to find a way to tab OUT of a memo component. I realise that Tab, itself, is a legitimate key in a memo for formatting purposes.
Does anyone know if it is possible at all to tab to the next control from a Tmemo? I don't need the Tab format in the Memo, so I'm quite happy to sacrifice that.
I'm using Delphi 5 Enterprise.
Thanks in advance.
I am building an application which has Windows Ribbon at the top a panel with embedded 3rd party application at the bottom. As soon as embedded app loads, the main application form becomes inactive (title text becomes gray). This is expected behavior, however my problem is - unlike all other controls on the inactive main form, Ribbon tabs and the components they contain become unresponsive to mouse movements, i.e. do not highlight buttons on mouse over, do not show hints, etc. The only part of the Ribbon that works correctly on inactive form is Quick Access Toolbar. As the result, after interacting with embedded app user needs to click twice on the ribbon control to trigger an action.
The sample apps provided with Ribbon Framework do the same when they become inactive, so the issue is definitely not with my code.
I wonder if anyone else had similar experience and can suggest a workaround or a solution.
Thanks.
Just discovered that Microsoft Outlook and Excel behave exactly the same. Delphi-Ribbon-Framework uses native Windows API for creating ribbon, so this is not an issue with Delphi Ribbon Framework, or my code, but the way Microsoft implemented it.
Thanks.
I'm trying to make an IE add-on that works only in background, without a toolbar panel. I do not want my add-on to display a toolbar panel because i do not need it. I found an example add-on in Delphi, but how do I make it to work in the background without a toolbar?
The example project you provide implements a Tool Band. It implements the IDeskBand interface to display a toolbar in IE.
For the functionality you are asking for, you need to implement a Browser Helper Object instead, which is a completely different beast, and a very different implementation than a Tool Band.