Search found 210 matches

by guest
Tue Jun 07, 2022 9:49 pm
Forum: Liberty BASIC Language
Topic: Textbox lost focus event
Replies: 2
Views: 6928

Re: Textbox lost focus event

k6dgw wrote: Tue Jun 07, 2022 7:43 pm Does LBB provide a way to trap a "lost focus" event in a textbox in a window of type "window" ... such as when TAB is pressed?
Does this Liberty BASIC solution (easily found in a Google search) work?
by guest
Wed Apr 06, 2022 1:07 am
Forum: Liberty BASIC Language
Topic: Wordwrap in texteditor control
Replies: 2
Views: 7096

Re: Wordwrap in texteditor control

k6dgw wrote: Tue Apr 05, 2022 7:50 pm Is there a set of stylebits that I can use to get a texteditor control to word wrap long records/

Code: Select all

texteditor #w.te, 10, 10, 280, 280
stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0
open "Wordwrap test" for window as #w
wait
This is an LBB extension, it doesn't work in LB4.
by guest
Sat Mar 26, 2022 11:05 pm
Forum: General Board
Topic: Slowdown after repeated executions
Replies: 12
Views: 23096

Re: Slowdown after repeated executions

k6dgw wrote: Sat Mar 26, 2022 10:50 pm It is not necessary to restart Windows to restore the normal speed ... ending and restarting the LBB IDE will do the trick.
This sounds exactly like a run-of-the-mill resource leak. The practical solution is to quit and restart the LBB IDE if the slow-down gets annoying.
by guest
Mon Mar 21, 2022 7:55 pm
Forum: General Board
Topic: Slowdown after repeated executions
Replies: 12
Views: 23096

Re: Slowdown after repeated executions

A re-boot restored normal speed. So does Task Manager show any evidence of a resource or memory leak (with additional columns enabled)? It's hard to understand what else could result in a slow-down that persists between different processes, but is resolved by a reboot. If you can identify what kind...
by guest
Thu Mar 17, 2022 5:46 pm
Forum: General Board
Topic: Slowdown after repeated executions
Replies: 12
Views: 23096

Re: Slowdown after repeated executions

The slowdown on successive executions appears to occur only when in repeated code-compile-execute sequences. I created an executable and I don't see the slowdown, at least in maybe 15-20 executions. OK. Although I don't have an explanation, I am less concerned if the problem manifests only in a 'de...
by guest
Tue Mar 01, 2022 7:24 pm
Forum: General Board
Topic: Slowdown after repeated executions
Replies: 12
Views: 23096

Re: Slowdown after repeated executions

I don't know if it's related or not but lately LBB takes 40 seconds to load and run on my laptop. It's less than two seconds here, which is what I would expect. The first thing I would try is disabling your Anti-Virus tools, which can sometimes be responsible for that kind of problem. If that makes...
by guest
Tue Mar 01, 2022 3:25 pm
Forum: Compatibility with LB4
Topic: Opening multiple windows
Replies: 2
Views: 9122

Re: Opening multiple windows

Can I make this work in LB4? LB4 doesn't like you 'closing' a window that isn't open, so you will need to introduce a couple of Boolean variables (I have called them FirstOpen and SecondOpen ) which keep track of which window is open. That way you can avoid trying to close a window that isn't open....
by guest
Fri Feb 25, 2022 10:27 am
Forum: General Board
Topic: Slowdown after repeated executions
Replies: 12
Views: 23096

Re: Slowdown after repeated executions

1. File dialogs take longer and longer to paint 2. Windows [in general] take longer and longer to paint ... some a little longer, some much longer. Please list a (small, but complete and self-contained) program which illustrates the behavior, along with instructions for how to run it (if needed). T...
by guest
Tue Jan 25, 2022 2:06 pm
Forum: General Board
Topic: Having troubble to embed files for exectuable
Replies: 3
Views: 8594

Re: Having troubble to embed files for exectuable

So the problem must be in my PC . But what can it be please? I'm afraid I'm no wiser than you are. It does look like some sort of 'access rights' issue, so if the directory and file attributes look OK perhaps it's something set by a policy. Or could it perhaps be linked with UAC Virtualization? Doe...
by guest
Thu Dec 16, 2021 3:20 pm
Forum: Liberty BASIC Language
Topic: internal error 16
Replies: 4
Views: 11880

Re: internal error 16

This is the part that is upsetting LBB: 1150 FOR RT=0 TO 2:READ NP, MT(RT):FOR I=1 TO NP 1170 READ MP(RT,I), MP$(RT,I), MR$(RT,I), ZM(RT,I):NEXT I,RT There are two nested FOR...NEXT loops (FOR RT... and FOR I...) but there is just a single NEXT statement for both: NEXT I,RT This is illegal in Libert...