Liberty BASIC Community Forum
« Search Results »

Welcome Guest. Please Login or Register.
Nov 24th, 2014, 7:22pm


Rules|Home|Help|Search|Recent Posts|Notification

--Liberty BASIC Resources--
Yahoo Code Repository (source must be included)
Liberty BASIC Community WikiSpace
Liberty Labs
Bay Six Software Forum
Liberty BASIC Home Page

Official Liberty BASIC Support
Liberty BASIC Programmer's Encyclopedia
Liberty BASIC 5 Handbook
Liberty BASIC on Rosetta Code

Search Results

Total results: 10


 1   Novice / Re: How many statictexts....  on: Today at 1:37pm
Started by fox | Post by jlpoynor
I've got a sheet with 28 statictexts and 21 buttons and it works fine.
Larry
 
  Reply Quote Notify of replies

 2   General Board / Re: Error closing key  on: Today at 11:02am
Started by CarlGundel | Post by Chris Iverson
I've used many different versions/combinations of LB and Pro on various computers(I take LB with me on a USB drive), and I haven't seen this error, myself.

Personal computers I've run include Windows XP, Vista, 7, 8, 8.1, and the Windows 10 Tech Preview, and I've not seen it on any of them, using various versions of v4 LB(v4.01, v4.02, v4.03, v4.03+Assist, v4.04, Pro v4.04, LBv4.5 beta)
 
  Reply Quote Notify of replies

 3   Novice / Re: Using the run command question  on: Today at 11:00am
Started by TexasPete | Post by Chris Iverson
You're getting it right(explorer.exe is Windows/File Explorer; iexplore.exe is Internet Explorer).

Windows Explorer is an interface for the Windows Shell, and if you have the shell open a file without specifying a program to use to open it, it will run the file extension's default handler and give it the file(i.e. if you have iTunes set to open MP3 files, and you use explorer to launch an MP3, it'll open the MP3 with iTunes).


This can also be done programmatically using the ShellExecute() API, which does exactly what I said before(uses the Shell to launch a program or open a file, if program is unspecified, it uses the default handler).
 
  Reply Quote Notify of replies

 4   Novice / Re: How many statictexts....  on: Today at 09:24am
Started by fox | Post by CarlGundel
on Today at 09:12am, mskl007 wrote:
Wait, is there a limit to how many statictext controls you can have in one window? huh

Liberty BASIC does not limit this, but Windows does.

-Carl
 
  Reply Quote Notify of replies

 5   Novice / Re: How many statictexts....  on: Today at 09:12am
Started by fox | Post by mskl007
Wait, is there a limit to how many statictext controls you can have in one window? huh
 
  Reply Quote Notify of replies

 6   Novice / Re: Using the run command question  on: Today at 09:06am
Started by TexasPete | Post by mskl007
Can you open a text file in Windows Explorer? Can you even technically open ANY file in Windows Explorer? Am I getting it wrong and it's Internet Explorer?
 
  Reply Quote Notify of replies

 7   Novice / Re: .avi files?  on: Today at 05:09am
Started by mskl007 | Post by mskl007
Thanks, code's great as far as I can tell! But is there any way you can pause a video using this method (by clicking the screen, for instance)?
 
  Reply Quote Notify of replies

 8   Game and Graphic Programming / Retro Skiing game  on: Today at 02:14am
Started by benjamin805 | Post by benjamin805
Hi,

I'm thinking about trying to make a clone of this game (below) and was wondering how they might of done the 3d effect of the course. I was thinking using sin/cos to do it, but i'm not sure. I want to know if anyone has some ideas on it.


 
  Reply Quote Notify of replies

 9   Game and Graphic Programming / Re: braile 6 dot [nl]  on: Yesterday at 2:01pm
Started by bluatigro | Post by bluatigro
i think its errorles now
Code:
WindowWidth = DisplayWidth
WindowHeight = DisplayHeight
nomainwin
open "braile 6" for graphics as #m
  #m "trapclose [quit]"
  #m "fill black"
  txt$="the quick brouwn fox jumped"
  call braille6 0,0,txt$,4,"blue","yellow"
  txt$="over the lazy dog ."
  call braille6 0,50,txt$,4,"blue","yellow"
wait
[quit]
  close #m
end
sub braille6 x,y,txt$,size,kl1$,kl2$
      '' 0123456701234567012345670123456701234567012345670123456701234567
  code$=" a,b k;l cif/msp e:h*o!r djgntq  ? _u(v   xc  .)z    w y e"
  for i = 1 to len( txt$ )
    #m "goto ";x+i*size*10;" ";y
    #m "color ";kl1$
    #m "backcolor ";kl1$
    #m "down"
    #m "boxfilled ";x+i*size*10+size*7 _
    ;" ";y+size*11
    #m "up"
    #m "color ";kl2$
    #m "backcolor ";kl2$
    l$ = mid$( txt$,i,1)
    q = instr( code$ , l$ ) - 1
    for a = 0 to 1
      for b = 0 to 2
        if q and 2^((a*3)+b) then
        #m "goto ";x+i*size*10+(a*size*3+3*size) _
        ;" ";y+b*size*3+size
        #m "down"
        #m "boxfilled ";x+i*size*10 _
        +(a*size*3+size) _
        ;" ";y+b*size*3+size*3
        #m "up"
        end if
      next b
    next a
  next i
end sub
 

[ the last e must be e+/ . how do i get that ]
 
  Reply Quote Notify of replies

 10   Game and Graphic Programming / braile 6 dot [nl]  on: Yesterday at 1:44pm
Started by bluatigro | Post by bluatigro
this is not whitout error :
- some of the characters are wrong

i used dutch braillecode
Code:
WindowWidth = DisplayWidth
WindowHeight = DisplayHeight
nomainwin
open "braile 6" for graphics as #m
  #m "trapclose [quit]"
  txt$="the quick brouwn fox jumped"
  call braille6 0,0,txt$,4,"yellow","black"
  txt$="over the lazy dog ."
  call braille6 0,50,txt$,4,"yellow","black"
wait
[quit]
  close #m
end
sub braille6 x,y,txt$,size,kl1$,kl2$
      '' 0123456701234567012345670123456701234567012345670123456701234567
  code$=" a,b k;l cif/msp e:h*o!p djgntr  ? _u(v   xc  .)z    w y e"
  for i = 1 to len( txt$ )
    #m "goto ";x+i*size*10;" ";y
    #m "color ";kl1$
    #m "backcolor ";kl1$
    #m "down"
    #m "boxfilled ";x+i*size*10+size*7 _
    ;" ";y+size*11
    #m "up"
    #m "color ";kl2$
    #m "backcolor ";kl2$
    l$ = mid$( txt$,i,1)
    q = instr( code$ , l$ ) - 1
    for a = 0 to 1
      for b = 0 to 2
        if q and 2^((a*3)+b) then
        #m "goto ";x+i*size*10+(a*size*3+3*size) _
        ;" ";y+b*size*3+size
        #m "down"
        #m "boxfilled ";x+i*size*10 _
        +(a*size*3+size) _
        ;" ";y+b*size*3+size*3
        #m "up"
        end if
      next b
    next a
  next i
end sub
 

 
  Reply Quote Notify of replies


Rules|Home|Help|Search|Recent Posts|Notification



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