LB Booster
« LB Booster version 2.40 released »

Welcome Guest. Please Login or Register.
Apr 29th, 2017, 03:44am


Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
LB Umbrella forum
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: LB Booster version 2.40 released  (Read 2234 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1164
xx 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:
  1. Improved functionality of DIALOG_MODAL windows.

  2. Text written to a TEXTEDITOR is always inserted at the end, not at the caret.

  3. Setting PrinterName$ affects initial selection in a subsequent PRINTERDIALOG.

  4. FONT command can specify a height in pixels, even with bold/italic/underline.

  5. Reduced CPU usage by CONFIRM, NOTICE, FILEDIALOG, FONTDIALOG & PRINTERDIALOG.

  6. Improved compatibility with SDL.DLL and EZTW32.DLL libraries.

  7. Fixed a bug which could affect very long program lines containing a comment.
Richard.
User IP Logged

RobM
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 78
xx 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 wink

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 » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1164
xx 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.
« Last Edit: Feb 3rd, 2014, 4:44pm by Richard Russell » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls