|
Post by Carl Gundel on May 24, 2021 16:40:33 GMT -5
Build 353 so far...
EDITED to add this item. -Fix a bug with BYREF where the reference to a variable passed into a SUB or FUNCTION was not being passed by reference at all when the call stack is more than one level deep.
-Fix a bug where a BYREF variable was not resolving properly inside a SUB or FUNCTION.
-Fix error when using STATICTEXT TEXT( ) function
-Fix incorrect size of main window when using the debugger
-More work on the new main window code to squash bugs and aid performance.
-Pen size is not being maintained between drawn items, such as rectangles as noted in drawx.bas Fixed.
-Using LOCATE in the main window using floating point values fails with an error. Fixed.
-BMPBUTTON corner anchoring was not functional. Anchoring was defaulting to upper left. Fixed.
-Main window is rewritten to use a different text widget. This is to improve font handling in a cross platform way. NOTE: This is where the bulk of my effort has been since build 352 was released.
-Add support for REMOVESPRITE, SPRITEVISIBLE, and SPRITEORIENT.
|
|
|
Post by Brandon Parker on May 24, 2021 22:07:33 GMT -5
Keep up the great work Carl!!
{:0)
Brandon Parker
|
|
|
Post by atomose on Dec 15, 2021 17:54:51 GMT -5
Hi ! Is it possible to test the 353 alpha version ? or you have highter version ? ^^
thx
|
|
|
Post by Carl Gundel on Dec 15, 2021 17:57:39 GMT -5
Hi ! Is it possible to test the 353 alpha version ? or you have highter version ? ^^ thx I am working on getting that version out. It should be available in the next week or so.
|
|
|
Post by atomose on Dec 20, 2021 12:45:31 GMT -5
thx
|
|
|
Post by atomose on Jan 6, 2022 10:34:54 GMT -5
any news about release date ? thx
|
|
|
Post by Carl Gundel on Jan 7, 2022 17:34:13 GMT -5
Okay here are the LB5 353 release notes. Build 353 will be released over the next few days.
Build 353 Notes ==============================================================================
-Implemented automatic EDIT menu for windows with text controls. Also added support for:
'Add the default Edit menu here MENU #handle, "Edit"
'Add a custom Edit menu here. This is new for LB5 MENU #handle, "&Edit", "Label1", [action], "Label2", [action2], etc.
-Implemented #graphicbox "stringwidth? strExpr$ pixelsWide" and also #graphicbox stringwidth(strExpr$)
-Add debug$() to files.
-Implemented MAPHANDLE.
-Fix CONTENTS$() and LINE$() for the main window.
-Implement !FIND, !FINDBACK, !RESETFIND, FIND(), FINDBACK(), RESETFIND() for textwindow and texteditor.
-Fix for a type mismatched error when using replstr$()
-Radiobuttons which are not contained in a groupbox would cause a runtime error. Fixed.
-Fix a bug in font selection where failing to specify a font point size would cause a runtime error.
-Start work on STRUCT and CALLBACK. More work to do before this stuff works.
-Extending the functionality of CALLDLL to use the specified library. Up to now CALLDLL was always calling against Windows built in libraries only even if OPEN was being used with other DLLs. More work to do.
-Change debugger code font to be fixed width
-Make LPRINT and DUMP work
-Make the Release Notes and Help menus work in the code editor window.
-Added a dark mode as a code editor coloring scheme.
-Added a bunch of missing globals including CommandLine$, the widget color vars and printer related globals.
-Fixed the columnar printing (i.e. PRINT a, b) to be 14 characters wide to be compatible with LB4.
-Tweaked the debugger to put a * in front of values that are passed by reference.
-Fix a bug with BYREF where the reference to a variable passed into a SUB or FUNCTION was not being passed by reference at all when the call stack is more than one level deep.
-Fix a bug where a BYREF variable was not resolving properly inside a SUB or FUNCTION.
-Fix error when using STATICTEXT TEXT( ) function
-Fix incorrect size of main window when using the debugger
-More work on the new main window code to squash bugs and aid performance.
-Pen size is not being maintained between drawn items, such as rectangles as noted in drawx.bas Fixed.
-Using LOCATE in the main window using floating point values fails with an error. Fixed.
-BMPBUTTON corner anchoring was not functional. Anchoring was defaulting to upper left. Fixed.
-Main window is rewritten to use a different text widget. This is to improve font handling in a cross platform way. NOTE: This is where the bulk of my effort has been since build 352 was released.
-Add support for REMOVESPRITE, SPRITEVISIBLE, and SPRITEORIENT.
|
|
|
Post by Carl Gundel on Jan 7, 2022 17:35:06 GMT -5
any news about release date ? thx No, but I'm hoping that we will transition soon from alpha testing to beta testing. This will be a major milestone.
|
|
|
Post by Brandon Parker on Jan 7, 2022 17:46:13 GMT -5
Carl, How difficult would it be to implement a feature to leave out the automatic "Edit" menu if the programmer chooses.
Something like:
#myWindow.myTxtEditor noEditMenu()
Or, ... Instead of "Yes"/"No" 1/0 could be used...?
#myWindow.myTxtEditor editMenu("YES") 'Or #myWindow.myTxtEditor editMenu("NO")
I am just thinking about options since people have repeatedly wanted to remove the automatically generated TextEditor's EDIT Menu.
{:0)
Brandon Parker
|
|
|
Post by Brandon Parker on Jan 7, 2022 17:52:09 GMT -5
Also, with respect to getting a string's width from a GraphicBox, how do we set a "pixelsWide" variable (or any other return variable for that matter) with this line of code? Maybe I missed this somewhere along the way...?
#graphicbox stringwidth(strExpr$)
{:0)
Brandon Parker
|
|
|
Post by Brandon Parker on Jan 7, 2022 18:08:43 GMT -5
|
|
|
Post by Carl Gundel on Jan 7, 2022 22:29:52 GMT -5
Also, with respect to getting a string's width from a GraphicBox, how do we set a "pixelsWide" variable (or any other return variable for that matter) with this line of code? Maybe I missed this somewhere along the way...? #graphicbox stringwidth(strExpr$) {:0) Brandon Parker var = #handle stringwidth(str$)
|
|
|
Post by Carl Gundel on Jan 7, 2022 22:32:24 GMT -5
Carl, How difficult would it be to implement a feature to leave out the automatic "Edit" menu if the programmer chooses. Something like: #myWindow.myTxtEditor noEditMenu() Or, ... Instead of "Yes"/"No" 1/0 could be used...? #myWindow.myTxtEditor editMenu("YES") 'Or #myWindow.myTxtEditor editMenu("NO") I am just thinking about options since people have repeatedly wanted to remove the automatically generated TextEditor's EDIT Menu. {:0) Brandon Parker I’ve been thinking about that very thing.
|
|
|
Post by tsh73 on Jan 8, 2022 12:31:00 GMT -5
probably NOT making (creating or displaying) default Edit menu unless user explicitly asks for it? IMHO I do not remember EVER using that default Edit menu anyway.
|
|
|
Post by Carl Gundel on Jan 8, 2022 12:41:50 GMT -5
probably NOT making (creating or displaying) default Edit menu unless user explicitly asks for it? IMHO I do not remember EVER using that default Edit menu anyway. If I got rid of it, someone would miss it, for sure. That's just the way of things. Anyway, the new feature allows you to customize the Edit menu completely.
|
|