Search found 192 matches

by guest
Sun Jul 31, 2022 3:00 pm
Forum: BASIC code examples
Topic: library example v3d oop
Replies: 3
Views: 4126

Re: library example v3d oop

i get a function not exsist error why ? It's because you call sub sphere with parameters: call sphere 20,0,10 , 30 , rgb(255,0,0) call sphere 0,0,0 , 30 , rgb(0,255,0) but you define it with no parameters: sub sphere if stel >= 100 then exit sub s(stel,s.x)=x s(stel,s.y)=y s(stel,s.z)=z s(stel,s.d)...
by guest
Wed Jun 22, 2022 8:58 am
Forum: General Board
Topic: Look at the OLD LBB Forum
Replies: 4
Views: 8154

Re: Look at the OLD LBB Forum

don cody wrote: Tue Jun 21, 2022 11:11 pm Anyone have a link to the old LBB forum? :arrow:
Go to the front page of this forum, scroll down to the bottom, and you'll see the link in the ARCHIVE section labelled Browse or search the old LBB forum.
by guest
Tue Jun 07, 2022 9:49 pm
Forum: Liberty BASIC Language
Topic: Textbox lost focus event
Replies: 2
Views: 3891

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: 4164

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: 12733

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: 12733

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: 12733

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: 12733

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: 5636

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: 12733

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...