Find Jobs
Hire Freelancers

Micro conversion from TEmbeddedWB to TChromiumWindow (Delphi)

₹600-1500 INR

Pågår
Lagt ut over 4 år siden

₹600-1500 INR

Betalt ved levering
The project is just to tell me which properties I should use to migrate from TEmbeddedWB to TChromiumWindow. Only in the properties / functions below: TEmbeddedWB -> TChromiumWindow 1 - [login to view URL] -------------------------------------------------------- 2 - ShowMessage([login to view URL]('field', 0).value); -------------------------------------------------------- 4 - [login to view URL] -------------------------------------------------------- 5 - [login to view URL] -------------------------------------------------------- 6 - [login to view URL] -------------------------------------------------------- procedure WebBrowserFileDownload(Sender: TCustomEmbeddedWB; pmk: IMoniker; pbc: IBindCtx; dwBindVerb, grfBINDF: Cardinal; pBindInfo: PBindInfo; pszHeaders, pszRedir: PWideChar; uiCP: Cardinal; var Rezult: HRESULT); In this event, it is possible to get the file link that the browser would download, but without displaying the download information on the screen. The link is in the "pszRedir" variable. You can not display the download information by changing the variable: Rezult: = S_FALSE; -------------------------------------------------------- [login to view URL] -------------------------------------------------------- In this section, I modify an existing alert script not to be displayed in the browser as follows. var document:IHTMLDocument2;novoScript:IHTMLDOMNode; begin document := [login to view URL] as IHTMLDocument2; if Assigned(document) then begin novoScript := [login to view URL]('script') as IHTMLDOMNode; (novoScript as IHTMLScriptElement).text := 'function alert(s){}'; ([login to view URL] as IHTMLDOMNode).appendChild(novoScript); end; end -------------------------------------------------------- In this part, I prevent the "confirm" message from being displayed. html <input type="submit" name="button" value="informacao" onclick="return confirm(mensagem);" id="button" class="botao" /> [login to view URL]('button', 0).onclick:='true'; ----- Only that.
Prosjekt-ID: 21739592

Om prosjektet

Eksternt prosjekt
Aktiv 5 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber

Om klienten

BRAZILs flagg
Maceio, Brazil
5,0
8
Medlem siden mar. 18, 2013

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.