Page 2 of 2

Re: RTF Based Help Composer and Viewer

Posted: Fri Jan 25, 2019 4:38 pm
by captain_skank
srod wrote:That doesn't happen on my Win 7 system. However, the entire contents of the editor gadget sometimes disappears!
I've had that happen many times in my own code when i've used the editor gadget - especially when the volume of text is larger than the default gadget size ( so scroll bars are needed ).

Oddly though if you select all the text in the gadget ( for cutting ) the text is there, so it appears the text colour changed to white ???

It got to be sucha paoin that i used the web gadget ( for displaying text only )

Re: RTF Based Help Composer and Viewer

Posted: Fri Jan 25, 2019 4:47 pm
by srod
captain_skank wrote:It got to be sucha paoin that i used the web gadget ( for displaying text only )
As was my advice to blueb. :wink: The editor gadget is generally more hassle than it is worth.

Re: RTF Based Help Composer and Viewer

Posted: Fri Jan 25, 2019 4:49 pm
by blueb
Hmmm... don't know what to say. :(

Jan2004: mm.. Looks like you've tried re-compiling the code

The versions I released were...

HelpBuilder ver 1.0 build: 4.30
HelpViewer ver 1.0 build: 3.31

From your screen-shots I see that you're using.. Viewer build: 4.49

The source code is very simple (as am I), so it shouldn't be too hard to find the culprit.

To be honest I haven't used WinXP /Win 7 for many years.

Everything works well on my Win10 Pro (64) and PureBasic 5.70 x86 and x64

Re: RTF Based Help Composer and Viewer

Posted: Fri Jan 25, 2019 8:36 pm
by Jan2004
Blueb:
Looks like you've tried re-compiling the code.
I unpacked the zip I downloaded from Dropbox and ran the code (pb and pbi) - that is all what I did. I've also tried to run HelpViewer.exe directly. The bug also occurs in the exe.

Re: RTF Based Help Composer and Viewer

Posted: Fri Jan 25, 2019 8:45 pm
by blueb
OK. When you run the source the build numbers are incremented.
(see the 'Constants' tab in the compile options).

srod's comment that there may be an issue with earlier versions of
Windows and the EditorGadget are a possibility, but I've never had
an issue.

I've looked in the events area and can see no problems, but I'm not an API wiz.

I will try to use Scintilla or the webGadget in the future to avoid this issue.

Perhaps getting an expert WinXP user to look the code over may help,
maybe one of them will comment.

Re: RTF Based Help Composer and Viewer

Posted: Sat Feb 16, 2019 8:21 pm
by blueb
I created a WebGadget version of this RTF Help Composer.


viewtopic.php?p=533013#p533013

I'll keep both versions in my DropBox account, since they use
different methods, but result in the same outcomes. :)