Author |
Topic: LB Booster version 2.40 released (Read 2453 times) |
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
LB Booster version 2.40 released
« Thread started on: Jan 4th, 2014, 11:47am » |
|
I am pleased to announce the release of 'LB Booster' version 2.40. It may be downloaded from here:
http://lbbooster.com/LBB.exe (IDE/compiler) http://lbbooster.com/LBBRUN.exe (optional runtime engine)
Version 2.40 consolidates a few changes made to support users who have been porting their programs (one well in excess of 50,000 lines!) from LB to LBB:
Improved functionality of DIALOG_MODAL windows.
Text written to a TEXTEDITOR is always inserted at the end, not at the caret.
Setting PrinterName$ affects initial selection in a subsequent PRINTERDIALOG.
FONT command can specify a height in pixels, even with bold/italic/underline.
Reduced CPU usage by CONFIRM, NOTICE, FILEDIALOG, FONTDIALOG & PRINTERDIALOG.
Improved compatibility with SDL.DLL and EZTW32.DLL libraries.
Fixed a bug which could affect very long program lines containing a comment. Richard.
|
|
Logged
|
|
|
|
RobM
Junior Member
member is offline
Posts: 91
|
|
Re: LB Booster version 2.40 released
« Reply #1 on: Jan 8th, 2014, 8:10pm » |
|
Quote:...one well in excess of 50,000 lines! |
|
Wonder who that could be
Curious what changes you made to dialog_modal windows? I just went to open my program to check a feature a customer was asking about and received a "Couldn't create window Saved jobs" error which is a dialog_modal window (in my [pleasewait] branch.
Also curious what you changed for the SDL.DLL?
Edit to add, the error I received was with version 2.38 or 2.39
Rob
|
« Last Edit: Jan 9th, 2014, 04:04am by RobM » |
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
Re: LB Booster version 2.40 released
« Reply #2 on: Feb 2nd, 2014, 9:33pm » |
|
on Jan 8th, 2014, 8:10pm, RobM wrote:Curious what changes you made to dialog_modal windows? |
|
If there is no suitable 'owner' window, a standard (non-modal) dialog is opened. Previously, in this condition an error 'Couldn't create window' was reported by LBB.
Quote:Also curious what you changed for the SDL.DLL? |
|
It's been added to the list of DLLs that require 'special treatment', i.e. that must be called from the GUI thread rather than the interpreter's worker thread. Previously, a program attempting to use SDL.DLL would crash LBB.
Quote:the error I received was with version 2.38 or 2.39 |
|
The current version available for download is 2.43.
Edit: If you run the program below you will see the different dialog_modal behavior. Using LBB 2.30 the error will be trapped and the title bar will display 'non modal' but with LBB 2.43 no error will occur and it will display 'modal' (even though it isn't!):
Code: nomainwin
on error goto [nonmodal]
open "Test (modal)" for dialog_modal as #main
on error goto 0
#main, "trapclose [close]"
wait
[nonmodal]
on error goto 0
open "Test (non modal)" for dialog as #main
#main, "trapclose [close]"
wait
[close]
close #main
end Richard.
|
|
|
|
|