LB Booster
« Using API for textboxes »

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



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: Using API for textboxes  (Read 571 times)
RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Using API for textboxes
« Reply #2 on: Mar 16th, 2016, 9:52pm »

Richard

Thanks for your response.

I said I'd modified code from API Corner. other than the heading, I've taken all the Password info out of Alyce's code. I was too lazy to change the heading!

Your eagle eye caught my typo and that solved the problem.

The reason for my using APIs is that I'm playing around with them to try to get to know them better.

By the way, some time ago you gave me some LBB code for a grid and got rid of the thick lines between textboxes by adding 1 to the textbox width and to the textbox height. That doesn't appear to work with the API solution, but using -1 instead does.

Next step is to develop a multi-column grid.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Using API for textboxes
« Reply #3 on: Mar 16th, 2016, 10:40pm »

on Mar 16th, 2016, 9:52pm, RNBW wrote:
Next step is to develop a multi-column grid.

Would it not be better to learn the Windows API by doing something which it is genuinely better at? For example rather than creating a grid of textboxes create a ListView (report style), which is superficially similar but for which there is no native equivalent.

Richard.
« Last Edit: Mar 16th, 2016, 10:40pm by Richard Russell » User IP Logged

RNBW
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 106
xx Re: Using API for textboxes
« Reply #4 on: Mar 17th, 2016, 3:07pm »

Richard
I hear what you are saying but I have my reasons.

The reason I posted the code for a grid of textboxes was because I had developed code in liberty basic (with help from your goodself) and trying to develop the same result but using the Windows API enables me to check along the way the correctness and accuracy off the code. Much the same way if you had developed some code in Pascal butt now wanted to do it in Basic. It is simply a means to an end.

If I maintain an interest in this, I shall continue to try different things, including, possibly, a ListView.

I have no doubt that I shall have to return to the forum in three weeks to come for help. I do sometimes have difficulty getting my head around things sometimes. Old age, I'm afraid.
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