LB Booster
« Variable Number Of Rows Of Texboxes »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 05:24am



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 2  Notify Send Topic Print
 veryhotthread  Author  Topic: Variable Number Of Rows Of Texboxes  (Read 2371 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Variable Number Of Rows Of Texboxes
« Reply #24 on: Apr 15th, 2015, 4:30pm »

on Apr 15th, 2015, 3:55pm, RNBW wrote:
Has anyone got any ideas/solutions?

Delete this line, it's meaningless (there is no handle #m.txt) and breaks the rest of the program by zeroing the textbox handles:

Code:
      maphandle #m.txt, "#m.txt";row;col 

I should perhaps add a test in LBB for an undefined handle being supplied, rather than simply failing 'silently'.

Richard.
User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Variable Number Of Rows Of Texboxes
« Reply #25 on: Apr 15th, 2015, 5:11pm »

on Apr 15th, 2015, 4:30pm, Richard Russell wrote:
Delete this line, it's meaningless (there is no handle #m.txt) and breaks the rest of the program by zeroing the textbox handles:

Code:
      maphandle #m.txt, "#m.txt";row;col 

I should perhaps add a test in LBB for an undefined handle being supplied, rather than simply failing 'silently'.

Richard.


Richard
Thank you for your very prompt resolution of the problem. The code now works nicely, even the NOTICE bit. I've checked back on my other code and found that the maphandle wasn't there, so that is why it worked in that case.

It could be useful to include a check in LBB. It would help to cover up my programming incompetence.

Ray
User IP Logged

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


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