PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 10
 1 
 on: October 14, 2018, 07:44:20 PM 
Started by Paul Squires - Last post by Paul Squires
...I have been thinking of using a markdown parser to convert the markdown to html and then combine it with the github markdown css. Finally, display it all in an embedded web browser control within WinFBE. In theory, it all seems to be do-able and would make for a nice help system rather than CHM files.
We already have code in your Templates folder to create and embedded web browser and display either a html string or file. It might now just be a case of adding a client side javascript code file to take the string/file and render the markdown as html in the embedded browser. Something like showdownjs or markedjs might do the trick.

 2 
 on: October 14, 2018, 07:35:10 PM 
Started by Paul Squires - Last post by Josť Roca
Added an small change to the new overloaded SetText function (I was doing nothing with the bSetMaskedCharsOnly parameter).

Code: [Select]
' ========================================================================================
' Sets masked text to the control.
' ========================================================================================
PRIVATE FUNCTION CMaskedEdit.SetText (BYREF cwsText AS CWSTR, BYVAL bSetMaskedCharsOnly AS BOOLEAN) AS BOOLEAN
   DIM cws AS CWSTR = cwsText
   IF bSetMaskedCharsOnly THEN
      FOR i AS LONG = 1 TO LEN(m_strInputTemplate)
         IF MID(**cws, i, 1) = MID(**m_strInputTemplate, i, 1) THEN MID(**cws, i, 1) = "_"
      NEXT
      cws = AfxStrRemoveAny(cws, "_")
   END IF
   FUNCTION = this.SetText(cws)
END FUNCTION
' ========================================================================================

 3 
 on: October 14, 2018, 06:21:20 PM 
Started by Paul Squires - Last post by Paul Squires
I agree 100%. I was using markdown a bit for my winformsx documentation before I switched to pdf. It was so incredibly easy to write and looks really nice. I think we can leverage the markdown format to get something working nicely inside WinFBE that should easily display your existing markdown files as well as be easily expandable for the long term. I have always hated the whole process of creating CHM files.

 4 
 on: October 14, 2018, 06:11:50 PM 
Started by Paul Squires - Last post by Josť Roca
I'm using markdown because I can made changes to the documentation instantaneously, instead of having to prepare new .chm files. Besides, HelpNDoc is awfully slow with big help files like the WinFBX documentation and Help+Manual is expensive.


 5 
 on: October 14, 2018, 06:02:38 PM 
Started by Paul Squires - Last post by Paul Squires
:-) I have been back a couple of weeks now but busy getting up to speed with my regular day job. Finally have time now to get back at the editor. I have noticed your activity with Oxygen Basic.

One thing I have been toying with is documentation. I love the markdown approach to documentation but the only downside is viewing it when you're offline (exporting to pdf doesn't always look good). I have been thinking of using a markdown parser to convert the markdown to html and then combine it with the github markdown css. Finally, display it all in an embedded web browser control within WinFBE. In theory, it all seems to be do-able and would make for a nice help system rather than CHM files.

 6 
 on: October 14, 2018, 05:56:31 PM 
Started by Paul Squires - Last post by Josť Roca
Welcome back! I was waiting for your input before doing cleanup. Meanwhile I have been experimenting with Oxygen Basic because this forum is dead if you're on vacation.

I first tried to mimic the original control, then I changed several things and now I have implemented your suggestions and updated the documentation.

 7 
 on: October 14, 2018, 12:11:26 PM 
Started by Paul Squires - Last post by Paul Squires
Hi Josť,

Just starting to use the new masked edit control and integrate it into the WinFBE visual designer. I am integrating the control's properties and methods. Here are some of my initial thoughts (your thoughts on these would be appreciated)....

EnableGetMaskedCharsOnly - is this redundant? The GetText method allows retrieving text with or without the mask via the optional true/false bGetMaskedCharsOnly parameter. Why include this property?

SetMaskedText - why not just use SetText and add an additional true/false parameter that specifies that the pointed to text has (or doesn't have have) a mask in it? This would be consistent with the logic used by GetText.

GetTextLength - doesn't seem to be documented in your GitHub docs repository.

Thanks for your hard work on this control. It be a great addition to the visual designer!

Paul

 8 
 on: October 07, 2018, 08:44:17 PM 
Started by Paul Squires - Last post by raymw
Hi Paul, I've installed v1.8.1, and cannot now replicate the peculiar cursor behavior. Going back to a previous query, is the folding working properly, if so, how does it work? How to assign fold points or remove them? It seems different cf firefly fold, in as much as that worked for me, but this seems to assign fold points to odd places, and I can't find how to correct that. I think it would it be more useful if the function list window stayed open when you double click on a function to highlight it in the code and it could be better if the help files and others could be treated the same as the tool box in the designer. (although it would be nice if the basic help file word wrapped)

 9 
 on: October 07, 2018, 10:54:34 AM 
Started by Paul Squires - Last post by Paul Squires
Version 1.8.1 (October 7, 2018)
- Fixed: Regression causing build combobox to immediately close when clicked.
- Changed: Updated the Spanish language file (thanks Jose Roca).

https://github.com/PaulSquires/WinFBE/releases

 10 
 on: October 07, 2018, 10:52:58 AM 
Started by Paul Squires - Last post by Paul Squires
Some odd cursor behavior I've noticed. I highlight text, the 'vertical line' cursor lingers outside the text area, seems to oscillate with the cursor it should be, and whatever I do, I cannot get the correct cursor shape afterwards, unless I shut down winfbe.
That is indeed a strange behaviour. I have not been able to reproduce it, nor can I ever remember experiencing such a thing. ?


Pages: [1] 2 3 ... 10