Search found 197 matches

by guest
Sat Nov 04, 2023 5:25 pm
Forum: General Board
Topic: UTC
Replies: 3
Views: 9702

Re: UTC

Does anyone have a routine to get the current UTC (Greenwich Mean Time, Zulu Time)? I couldn't find anything with a search in the old or new forums. MSDN says to use GetSystemTime : " Retrieves the current system date and time in Coordinated Universal Time (UTC) format ". Google finds thi...
by guest
Mon May 01, 2023 11:31 am
Forum: General Board
Topic: Bring One of three windows to front!
Replies: 2
Views: 4748

Re: Bring One of three windows to front!

How to bring external application window on top? In 'modern' versions of Windows (since Windows 2000!) Microsoft has restricted this capability, because it could be abused. Specifically SetForegroundWindow() and BringWindowToTop() only work in certain conditions . If those conditions are met I thin...
by guest
Mon May 01, 2023 11:05 am
Forum: General Board
Topic: testing
Replies: 4
Views: 7120

Re: testing

RNBW wrote: Sat Mar 18, 2023 9:33 am So, my offer to help still stands
You didn't respond to my reply here.
by guest
Fri Mar 17, 2023 5:42 pm
Forum: General Board
Topic: testing
Replies: 4
Views: 7120

Re: testing

I offered to help with the testing. Have you had any further thought on the matter? I saw no such offer, and received no email notification. Perhaps the admin of the BBC BASIC forum thought it was inappropriate, I noticed that a couple of other recent posts about LBB disappeared before I had a chan...
by guest
Wed Sep 14, 2022 4:54 pm
Forum: Liberty BASIC Language
Topic: Can't get TRIM$() nor replstr$() to work
Replies: 4
Views: 5930

Re: Can't get TRIM$() nor replstr$() to work

Still, replstr$() doesn't accept to replace a character by "nothing". It seems to work for me. I tried this program: print chr$(34); replstr$("Hello world!", "o", ""); chr$(34) 'include lb45func.bas And it produced the output "Hell wrld!" which is c...
by guest
Sun Jul 31, 2022 3:00 pm
Forum: BASIC code examples
Topic: library example v3d oop
Replies: 3
Views: 5688

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

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

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

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

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.