LB Booster
« Spreadsheet for PNlawrence »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:49am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
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
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Spreadsheet for PNlawrence  (Read 275 times)
RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Spreadsheet for PNlawrence
« Thread started on: Oct 24th, 2015, 2:57pm »

I noticed in LB Conforums that you were looking at spreadsheet composition.

I just thought I'd bring to your notice some code that I developed with the help of Richard Russell that will run in LBB but not LB, at least partly because of the use of #maphandle.
The link in LBB conforums, where the whole thread goes into much more detail is:
Re: Variable Number Of Rows Of Texboxes
« Reply #23 on: Apr 15th, 2015, 3:55pm »

Hope it is of use to you.

Ray
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Spreadsheet for PNlawrence
« Reply #1 on: Oct 24th, 2015, 3:01pm »

Sorry, I didn't mention which section the link was in:

It's Liberty Basic Language.

Ray
User IP Logged

joker
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 157
xx Re: Spreadsheet for PNlawrence
« Reply #2 on: Oct 24th, 2015, 4:56pm »

Thanks, Ray. Very interesting reading. (I'm glad Richard is still hanging out here, too.)

I'll certainly be checking out the code for my program.
User IP Logged

joker
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 157
xx Re: Spreadsheet for PNlawrence
« Reply #3 on: Oct 24th, 2015, 7:54pm »

So, I see it is all derived from the "data grid" that Richard posted early on. Good stuff. Might work for me, too.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Spreadsheet for PNlawrence
« Reply #4 on: Oct 24th, 2015, 9:22pm »

Yes. Richard was very helpful.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Spreadsheet for PNlawrence
« Reply #5 on: Oct 24th, 2015, 10:35pm »

Richard also provided the following code in response to a query from me:

Code:
    number.of.rows = 8

    for row = 1 to number.of.rows
      for col = 0 to 4
        textbox #w.tb, 10+col*55, row*20, 55, 20
        maphandle #w.tb, "#w.tb";row;col
      next col
    next row
    open "Textbox grid" for window as #w
    #w.tb42 "Some text"
    wait 
 


This was following posts in LB Conforums, where I was told that you can't use controls in loops. You can't in LB, but you can in LBB. After i investigated I found that it did everything that I wanted.

Ray
User IP Logged

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

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls