Search found 70 matches: getprop

Return to advanced search

Re: Questions about WebView

... 0, 0, oDlg:nWidth, oDlg:nHeight) oDlg:oClient:Do("Navigate2", "https://www.website/") do while .T. oDk:=oDlg:oClient:GetProp("Document") if valtype(oDk)="U".or.oDk:ReadyState!="complete" WaitMessage() SysRefresh() else lOk:=.T. exit endif ...
by Natter
Fri Nov 25, 2022 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Questions about WebView
Replies: 26
Views: 1614

Questions about WebView

Hi, 1. In IE I can get the web page document so oIE:GetProp("Document"). Can I do this in WebView ? 2/ There is a Navigate method in the WebView class. Is it possible to use it to download HTML text from a file ? 3. When I launch WebView, ...
by Natter
Wed Nov 23, 2022 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Questions about WebView
Replies: 26
Views: 1614

Re: IE

Thanks, I downloaded everything. In IE, using the :GetProp("documet") method I could get the document of the open page. Is it possible to do this with webview ?
by Natter
Wed May 25, 2022 1:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1680

Re: Win10 IE problem?

oDk:=oWnd:aControls[nn]:GetProp("Document")

It works perfectly with W10
by Natter
Wed Jul 28, 2021 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Win10 IE problem?
Replies: 9
Views: 989

Re: EXIF

... morning Natter, I tried what you suggested but I can't find out the syntax for method and data how to access the object. oHttp := oActiveX:GetProp( "Document" ) // -> Object Document cClassName := oHttp:cClassname ? cClassName:innerHTML / Not working Can you please help with ...
by Otto
Thu Mar 18, 2021 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXIF
Replies: 17
Views: 1873

Re: EXIF

If under FW:

oDk:=oActX:GetProp("Document")
? oDk:getElementsByClassName("MyClass")

or other DOM commands (depending on the task)

Are you going to use the JS library ?
by Natter
Wed Mar 17, 2021 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EXIF
Replies: 17
Views: 1873

Re: Ajustar contenido página web en control TDockPnel

... cUrl ) oActivex:SetFocus() WHILE oActivex:Busy SysWait(.2) ENDDO oActiveXdo := oActiveX:Document() oHttp := oActiveX:GetProp( "Document" ) // -> Object Document IF Empty( oHttp ) MsgInfo( "Problemas en el Site...", ; "Problemas en el Site..." ...
by karinha
Sun Feb 07, 2021 1:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar contenido página web en control TDockPnel
Replies: 22
Views: 2059

Re: Simulate a click on a document

Hi, Mr. Horizon Create Activex object and open website oAx:Do("Navigate", myURL) Any page of the website is a Document. oDc:=oAx:GetProp("Document") All we see on the page are the elements of the document (buttons, forms, etc.). There was a map element on my page. I got ...
by Horizon
Sat Mar 30, 2019 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate a click on a document
Replies: 17
Views: 3272

Re: Simulate a click on a document

Hi, Mr. Horizon Create Activex object and open website oAx:Do("Navigate", myURL) Any page of the website is a Document. oDc:=oAx:GetProp("Document") All we see on the page are the elements of the document (buttons, forms, etc.). There was a map element on my page. I got ...
by Natter
Fri Mar 29, 2019 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate a click on a document
Replies: 17
Views: 3272

Re: Connect to Advantage Database

Hi Antonio , I try to make some test on FLH this morning. After install UBUNTU 14.04 LTS and all the packages needs to compile FLH i've a lot of errors like this: compiling... Harbour 2.1.0rc2 (Rev. 16643) Copyright (c) 1999-2011, http://harbour-project.org/ Compiling 'tutor01.prg'... Lines 1097, Fu...
by giuliano
Thu Aug 06, 2015 10:43 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Connect to Advantage Database
Replies: 31
Views: 11178

Re: Move controls as window size

... - nOrigWidth      nDV:= nHeight - nOrigHeight      aChildren:= oDlg:Cargo[2]      FOR EACH aCtrl IN aChildren         IF ( nPos:= GetProp( aCtrl[1], "RSZ" ) ) != 0            nStyle:= nPos % 256            nPos:= Int( nPos / 256 )          ...
by Carlos Mora
Tue May 19, 2015 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Move controls as window size
Replies: 21
Views: 6238

Re: Need copy of the following functions if any body has them.

Harvey,

Also change this line:

return CallWindowProc( ( FARPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );

with:

return CallWindowProc( ( WNDPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );
by Antonio Linares
Mon Dec 19, 2011 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need copy of the following functions if any body has them.
Replies: 9
Views: 3527

Re: Need copy of the following functions if any body has them.

Harvey,

Please replace this line:

LONG lResult = CallWindowProc( ( FARPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );

with:

LONG lResult = CallWindowProc( ( WNDPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );
by Antonio Linares
Mon Dec 19, 2011 9:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need copy of the following functions if any body has them.
Replies: 9
Views: 3527

Re: Mostrar duraccion de Video

... parciales, por ejemplo la duracion me aparece en cero. Habra que buscarle un poco mas a esta idea para obtener lo que necesitamos. STATIC Function GetPropFile( oWnd, cFile ) LOCAL oActiveX, pStatus pStatus:=Array(11) oActiveX = TActiveX():New( oWnd, "MediaPlayer.MediaPlayer.1",0,0,0,0) ...
by RodolfoRBG
Tue Aug 16, 2011 4:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar duraccion de Video
Replies: 8
Views: 2130

Error al compilar con bcc63 FARPROC (solucionado)

esta es la linea ofendida LONG lResult = CallWindowProc( (FARPROC) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam ); este es el mensaje de error que interrunpe la compilacion Error E2342 source\\fixsays.prg 18: Type mismatch in parameter ...
by carlos vargas
Sun May 08, 2011 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar con bcc63 FARPROC (solucionado)
Replies: 2
Views: 548
Next

Return to advanced search