WinFBE - 2.0.2 - Code Editor Text Colour

Started by SeaVipe, January 07, 2020, 01:13:44 PM

Previous topic - Next topic

SeaVipe


Hi Paul,
In the following line of code, all colour from the # to the right is colour as TEXT. Everything to the left of the # (excluding the #) is correctly coloured as per the Colors And Fonts settings. This colouring only affects the subject line.

Dim as Long o = Open( This.jdb_file_name For Random Access Read as #ff Len = Sizeof( js ) )
Clive Richey

Paul Squires

Thanks Clive - yes, I've seen similar situations like that with the # hash symbol. It is related to the internal language definition used in my version of the Scintilla editing control. Some day I need to better learn C++ and understand the code that I am using for that language parser.
Paul Squires
PlanetSquires Software

SeaVipe

Thanks, Paul.
- Another oddity, my app has a sub form with a statusbar control. At run time, the first time the form is shown the statusbar works as designed, the second and subsequent times the form is opened the statusbar is hidden. A restart of the app restores the sub form's statusbar for its one and only appearance. .Show and .Refresh have no visible effect.
- When the sub form is Closed, the parent form's StatusBar is momentarily hidden and then shown (with or without updates to Panel().Text). (This also happens to a Calendar control on the parent form and simultaneously to the Calendar control in the WinFBE Visual Designer)
- The StatusBar font cannot be changed, the following code has no effect:


'' Example: (Doesn't appear to be enabled, but compiles OK.)
frmMain.StatusBar.Font = New wfxFont("Consolas", 10, FontStyles.Bold, FontCharset.Ansi)

- StatusBarPanelBorderStyle: Raised and Sunken both appear as Flat; None works.

Clive Richey

Paul Squires

Quote from: SeaVipe on January 07, 2020, 04:43:31 PM
- Another oddity, my app has a sub form with a statusbar control. At run time, the first time the form is shown the statusbar works as designed, the second and subsequent times the form is opened the statusbar is hidden. A restart of the app restores the sub form's statusbar for its one and only appearance. .Show and .Refresh have no visible effect.

This is now (finally) fixed. The same problem would happen with MainMenus and ToolBars.
Paul Squires
PlanetSquires Software

SeaVipe

Clive Richey

Paul Squires

Quote from: SeaVipe on January 07, 2020, 04:43:31 PM
- The StatusBar font cannot be changed, the following code has no effect:


frmMain.StatusBar.Font = New wfxFont("Consolas", 10, FontStyles.Bold, FontCharset.Ansi)



This is now fixed and will be in the 2.0.3 update.
Paul Squires
PlanetSquires Software

Paul Squires

Quote from: SeaVipe on January 07, 2020, 04:43:31 PM
- StatusBarPanelBorderStyle: Raised and Sunken both appear as Flat; None works.

Based on my tests, it appears that sunken and raised only have effect if the Windows Theme support is disabled for the application. Obviously, I will not be removing (or allow to be removed) theme support from WinFBE applications so I will remove these panel type options from the WinFBE designer.
Paul Squires
PlanetSquires Software