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
I have notices that the topics in the TreeView are listed in reversed alphabetic order.
Also, the last topic is only half visible.
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?
"Windows GUI". See capture.
Thanks - I modified the code so that now the treeview matches the same height as the embedded web browser.
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)
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.
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.
Thanks, Paul!
Hello Paul
I'm looking forward to it.... :-)
Thanks, Paul. No rush, tomorrow will do...
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