PlanetSquires Forums

Support Forums => WinFBE - Code Editor and Visual Designer => Topic started by: Paul Squires on November 13, 2018, 09:43:31 AM

Title: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Paul Squires on November 13, 2018, 09:43:31 AM
Version 1.8.4 (November 13, 2018)
- Added: View ToolBox menu item is now implemented.
- Fixed: Canceling New Project creation would not erase new project in memory object.
- Fixed: Help Viewer screen flickering by adding WS_CLIPCHILDREN WS_CLIPSIBLINGS window styles.
- Fixed: Help Viewer treeview nodes are now selected to reflect the currently loaded help page.
- Fixed: When Help Viewer has focus, accelerator keys no longer act on the code editor.
- Fixed: Sizing of embedded Help Viewer web browser so it resizes correctly at bottom of the form.

https://github.com/PaulSquires/WinFBE/releases
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: José Roca on November 13, 2018, 10:14:27 PM
I have notices that the topics in the TreeView are listed in reversed alphabetic order.

Also, the last topic is only half visible.
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Paul Squires on November 14, 2018, 09:21:55 AM
Quote from: José Roca on November 13, 2018, 10:14:27 PM
I have notices that the topics in the TreeView are listed in reversed alphabetic order.
Thanks, I have added a Treeview_SortChildren call to ensure the nodes are now ascending alphabetic order.

Quote
Also, the last topic is only half visible.
Which topic are you referring to?

Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: José Roca on November 14, 2018, 11:27:04 AM
"Windows GUI". See capture.
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Paul Squires on November 14, 2018, 12:14:15 PM
Thanks - I modified the code so that now the treeview matches the same height as the embedded web browser.
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Paul Squires on November 14, 2018, 10:50:14 PM
Lots of work done today on the Menu Editor. The visual designer portion is complete. Only need to finish the code generation portion. It looks very good and is very easy to use. It will be a very good addition to the editor. (see attachment)
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: raymw on November 15, 2018, 06:22:40 AM
Hi Paul,
Looking good. Many menus are similar, like 'notepad', say. Will you have preloaded defaults for the more standard items? Thinking further, it could be more trouble than it is worth, if not a standard menu. I could have 'the standard menu' in an .inc file, I guess.
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Paul Squires on November 30, 2018, 10:22:00 AM
It has taken me a lot longer than I expected to get the backend code generation to work as I wanted. It is now all working well except for the menu accelerators that I need to write code generation for. Hopefully I can get an update out soon.
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: SeaVipe on November 30, 2018, 12:14:18 PM
Thanks, Paul!
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Joerg B. on November 30, 2018, 12:36:56 PM
Hello Paul
I'm looking forward to it.... :-)
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: raymw on November 30, 2018, 03:22:28 PM
Thanks, Paul. No rush, tomorrow will do...
Title: Re: WinFBE Suite 1.8.4 (November 13, 2018)
Post by: Paul Squires on November 30, 2018, 03:30:48 PM
The shortcut accelerator keys is not as hard as I thought because Jose already has the functionality built into his CWindow class. I just need to tie the code generation into that.

It looks like this so far:


constructor Form1Type
   this.Text = "Form1"
   this.SetBounds(10,10,500,300)
   
   this.MainMenu.Parent = @this
   dim mnuFile as wfxMenuItem = wfxMenuItem("File", "mnuFile")
   dim mnuNew  as wfxMenuItem = wfxMenuItem("New",  "mnuNew")
   DIM mnuOpen as wfxMenuItem = wfxMenuItem("Open", "mnuOpen")
   DIM mnuSave as wfxMenuItem = wfxMenuItem("Save", "mnuSave", "Ctrl+S")
   DIM mnuSep1 as wfxMenuItem = wfxMenuItem("-",    "mnuSep1")
   DIM mnuExit as wfxMenuItem = wfxMenuItem("Exit", "mnuExit")
   mnuFile.MenuItems.Add(mnuNew)
   mnuFile.MenuItems.Add(mnuOpen)
   mnuFile.MenuItems.Add(mnuSave)
   mnuFile.MenuItems.Add(mnuSep1)
   mnuFile.MenuItems.Add(mnuExit)
   this.MainMenu.MenuItems.Add(mnuFile)
   
   DIM mnuEdit  as wfxMenuItem = wfxMenuItem("Edit", "mnuEdit")
   DIM mnuCut   as wfxMenuItem = wfxMenuItem("Cut",  "mnuCut")
   DIM mnuCopy  as wfxMenuItem = wfxMenuItem("Copy", "mnuCopy")
   DIM mnuPaste as wfxMenuItem = wfxMenuItem("Paste", "mnuPaste")
   mnuEdit.MenuItems.Add(mnuCut)
   mnuEdit.MenuItems.Add(mnuCopy)
   mnuEdit.MenuItems.Add(mnuPaste)
   this.MainMenu.MenuItems.Add(mnuEdit)
   
   this.MainMenu.OnPopup = @Form1_MainMenu_Popup
   this.MainMenu.OnClick = @Form1_MainMenu_Click
   this.Controls.Add(ControlType.MainMenu, @this.MainMenu)

   Application.Forms.Add(ControlType.Form, @this)
end constructor

dim shared Form1 as Form1Type