PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD23] WP-Control
[WD23] WP-Control
Iniciado por guest, 22,jul. 2018 09:36 - 2 respuestas
Publicado el 22,julio 2018 - 09:36
Hi,

it takes some time to become familiar with the WP-Control ... however, the Doc.. commands do work fine. Especially the DocReplace command!

e.g.
- I'm missing the name of the file I'm working on. Maybe, I can add a static control.
- there is no "Close" button of a document ... which seems to cause my problem.

My problem: closing a window with the WP-Control on it + and re-open that document seems to trigger a "Read-only" flag for the next opening of the same document. LibreOffice ignores that flag, maybe it's non-standard. How to get rid of that Read-only flag once it is there???
Publicado el 22,julio 2018 - 14:49
Hi Guenter,

I'm not sure we are talking about the same thing, but when a doc. is open, a separate loc FILE is created in the same directory and destroeyd when the document is closed (I'm talking both word and libreoffice, here, if I remember correctly)

So your problem may be that loc file still being there, and you may be able to delete it by code

Best regards
Publicado el 22,julio 2018 - 15:38
Hi Fabrice, thank you, I'll look into that!!