DY HTML Edit.

  Edit HTML pages in fixed-width UTF-16 (now called UCS-2) and save them to UFT-8 (the most popular encoding for web pages)In PowerBASIC fixed 16 bit encoding is called "wide".

Can have 10 files open, each on a tab.

((maybe a program flow diagram here))

Links To Source Code Pages

  This is a larger project than I usually do. Child dialogs are in indivdual .bas files with PBMAIN functions for testing. When ready to compile the whole program the .bas files are treated as includes by REMing out a "test" equate. #IF/#ENDIF of the equate stops the complier from "seeing" those PBMAIN functions.

Consolidated.inc Mostly control ID equates so child windows can put input data directly into parent controls. Also, GLOBAL declarations and a few other equates. Putting in one include file saves repeating in the child dialog files.
BBROYGBVGW_Colors.inc BBROYGBVGW stands for Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Gray and White, the ECC (Electronics Component Color) code. Used here as dialog background as visual reminder of file currently being worked. To not zero base, and not have white last I used black for 10 (and 10 ends with a 0).
DY_HTML_Edit.bas PBMain function with main dialog. Each tab has an edit area (TEXTBOX in PB). For HTML files the edit is for page body. Page head section has stricter options so a separate child dialog builds the page head.
ManageFilesOnTabs.bas A child of main dialog for opening/closing/arranging the files on the tabs.
FOTSeq.bas Files-On-Tabs Sequence dialog that is a child of ManageFilesOnTabs dialog.
RobotsItems.basRobotd meta items child window of Header.


Full copyleft (ɔ), 2023 by Dale Yarker in source or compiled form. Complete license in new tab or window.


Created on 6 May 2024.

To Dale's Notebook
go to Dale's Notebook index
To Programs
go to Programs index