IonicWind Software

IWBasic => Object Oriented Programming => Topic started by: LarryMc on August 19, 2007, 04:01:57 PM

Title: WYSIWYG Class Test
Post by: LarryMc on August 19, 2007, 04:01:57 PM
Attached is an exe file and a .css style sheet.

I need someone to unzip and run the exe to make sure it will run on a machine other than mine.

And I REALLY need someone running vista to test it.

The exe file does create a tmp sub directory under the directory it is run from and it extracts a buch of gifs, js and htm files from the exe.

When the program closes it deletes all the temp files.
It does not write to the registry.

This is the beta culmination of the 3 threads in this forum:
http://www.ionicwind.com/forums/index.php/topic,1863.0.html
http://www.ionicwind.com/forums/index.php/topic,1853.0.html
http://www.ionicwind.com/forums/index.php/topic,1857.0.html
Title: Re: WYSIWYG Class Test
Post by: Marco Lohnen on August 19, 2007, 04:22:29 PM
Hi Larry,

I just gave your class test a try on my Vista machine and it works fine. I tested couple of things, changing fonts, colors, size and tables.
So not bad for a test if it even works on a Dutch version of Vista!

Marco

I've attached a screenshot..
Title: Re: WYSIWYG Class Test
Post by: ts-soft on August 19, 2007, 04:34:40 PM
Works fine on W2K, but you're use resourcetype 24, this is reserved for manifest, 23 is for html!

greetings
Thomas
Title: Re: WYSIWYG Class Test
Post by: LarryMc on August 19, 2007, 04:39:17 PM
Quote from: ts-soft on August 19, 2007, 04:34:40 PM
but you're use resourcetype 24, this is reserved for manifest, 23 is for html!

Marco/Thomas - Thanks for the feedback.

Thomas - this was a TEST; the final class will use a non-reserved number ( I believe it has to be above 255). It will also have a different button arrangement, and some other touchups.

Larry
Title: Re: WYSIWYG Class Test
Post by: LarryMc on August 19, 2007, 04:41:40 PM
BTW,
Did you guys hit the Save button to make sure the code got back to the dialog?

Larry
Title: Re: WYSIWYG Class Test
Post by: Bruce Peaslee on August 19, 2007, 10:35:39 PM
Quote from: Larry McCaughn on August 19, 2007, 04:41:40 PM
BTW,
Did you guys hit the Save button to make sure the code got back to the dialog?

Larry
I did, and it does. When I changed the text color twice I got this:

<span style="color: #604080"><span style="color: #ff0000">test <br /></span></span>

I expected only one span.

Pretty neat workup.
Title: Re: WYSIWYG Class Test
Post by: LarryMc on August 20, 2007, 09:15:21 AM
Bruce,

I just tried to change the font twice also.
If you hit the  'html" button (<>) the display changes over to the raw code and the double color gets taken care of.

Larry
Title: Re: WYSIWYG Class Test
Post by: LarryMc on November 03, 2007, 06:41:25 PM
Attached is the inital release of my WYSIWYG Editor class.
Includes a help file and an example of use.

I needed this kind of functionality for a bigger application I am working on.
The intent was to store html code segments in either a dbase file or by using my xml class and being able to add some formatting to the code.

It does what I need it to do and I hope it will benefit others.

Larry

Title: Re: WYSIWYG Class Test
Post by: Jerry Muelver on March 10, 2008, 10:53:28 AM
Larry, I'm starting to play around with your very clever WYSIWYG class. I've been using Goodman's editor on the web for a couple of years, and am delighted to see it captured for EBasic! You should have heard me WHOOP! when I first hit your "Editor" button! I'm working on a hybrid file format to handle multi-page single-file web projects, and should have something to show in a couple of weeks. I'm off on a vacation trip tomorrow, and should be fully charged up and rarin' to go on this when I get back!