1. leonardo Bonilla
  2. PowerBuilder
  3. Friday, 4 November 2022 21:27 PM UTC
como sera la propiedad en WEbBroser para esta propiedad en OleObjet "internetexplorer"  selectForm
 
De estas propiedad su equivalencia en WB_1.
 
IE.document.selectForm.nroruc.value = ls_ruc
IE.document.selectForm.serie.value = ls_serie
IE.document.selectForm.correlativo.value = ls_num
IE.document.selectForm.tip_doc.value = ls_doc_sun
IE.document.selectForm.autorizacion.value = ls_aut
IE.document.selectForm.myDateFrom.value = ldt_fec_doc
Arnd Schmidt Accepted Answer Pending Moderation
  1. Tuesday, 8 November 2022 22:37 PM UTC
  2. PowerBuilder
  3. # 1

You have to code some javascript and eventually mask the value.
This is some simple code for one field on a form.

string ls_value = "Fresh Value"
string ls_js = "document.forms['selectForm']['nroruc'].value = ~"" + ls_value + "~";"

string ls_error, ls_return

wb_1.Evaluatejavascriptsync(ls_js, ls_return, ls_error)

If Len(ls_error) > 0 then
	MessageBox("EvaluateJavascriptSync Error", ls_error)
end if

hth

Arnd

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 8 November 2022 19:17 PM UTC
  2. PowerBuilder
  3. # 2

Hola Leonardo;
    ¿Estás hablando del nuevo control de navegador web incorporado en PB?
Saludos... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.