FoxInCloud
Class awImg Ooop, check 'Picture' $ .wcPropSave
Gravatar is a globally recognized avatar based on your email address. Class awImg Ooop, check 'Picture' $ .wcPropSave
  Gilles Lajot-Sarthou
  All
  Nov 21, 2018 @ 10:01am

Hi I have this error when displaying an empty image on a form: I have this in VFP:

What does i do wrong ?

Regards

Gravatar is a globally recognized avatar based on your email address. re: Class awImg Ooop, check 'Picture' $ .wcPropSave
  FoxInCloud Support - Thierry N.
  Gilles Lajot-Sarthou
  Nov 22, 2018 @ 01:16am

Hi Gilles,

Probably FoxInCloud fails in copying your image into the site's Image folder; not sure why…

please set a breakpoint here and debug why lcSrc is empty:

modify command awHTML.prg

protected function getHTML_img
…
if .wcID = "transporteur_scx-cntlogo-logo"
  set step on
endif

lcSrc = this.cPictureWebAddr(m.this.oControl, @m.lnImgW, m.lnImgH)

then

do xxxTest.prg with 'transporteur.scx'
Gravatar is a globally recognized avatar based on your email address. re: Class awImg Ooop, check 'Picture' $ .wcPropSave
  Gilles Lajot-Sarthou
  FoxInCloud Support - Thierry N.
  Nov 22, 2018 @ 05:15am

Thierry,

lcSrc is empty, .picture is empty, .tag is empty, .tooltiptext is empty

With and not empty .tooltiptext then it's ok for me!

Gravatar is a globally recognized avatar based on your email address. re: Class awImg Ooop, check 'Picture' $ .wcPropSave
  FoxInCloud Support - Thierry N.
  Gilles Lajot-Sarthou
  Nov 22, 2018 @ 05:23am

.Picture is empty? OK the message is inappropriate. You can override it using .ToolTipText

Gravatar is a globally recognized avatar based on your email address. re: Class awImg Ooop, check 'Picture' $ .wcPropSave
  Gilles Lajot-Sarthou
  FoxInCloud Support - Thierry N.
  Nov 22, 2018 @ 10:29pm

Hi Thierry With using an not empty .tooltiptext and with and empty .picture, FoxInCloud display the .tooltiptext and not the 'ooops..' message..

C'est bon pour moi. Amicalement Gilles

© 1996-2024