RTF Based Help Composer and Viewer

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
captain_skank
Enthusiast
Enthusiast
Posts: 636
Joined: Fri Oct 06, 2006 3:57 pm
Location: England

Re: RTF Based Help Composer and Viewer

Post 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 )
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: RTF Based Help Composer and Viewer

Post 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.
I may look like a mule, but I'm not a complete ass.
User avatar
blueb
Addict
Addict
Posts: 1044
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: RTF Based Help Composer and Viewer

Post 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
- It was too lonely at the top.

System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Jan2004
Enthusiast
Enthusiast
Posts: 156
Joined: Fri Jan 07, 2005 7:17 pm

Re: RTF Based Help Composer and Viewer

Post 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.
User avatar
blueb
Addict
Addict
Posts: 1044
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: RTF Based Help Composer and Viewer

Post 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.
- It was too lonely at the top.

System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
blueb
Addict
Addict
Posts: 1044
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: RTF Based Help Composer and Viewer

Post 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. :)
- It was too lonely at the top.

System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Post Reply