LB Booster
« PROMPT focus »

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



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: PROMPT focus  (Read 368 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx PROMPT focus
« Thread started on: Oct 17th, 2014, 3:54pm »

A user has reported that the PROMPT statement does not consistently set the input focus to the textbox, the result being that you sometimes have to click with the mouse before typing your response. I don't know why this happens, because PROMPT (in LBB) calls the DialogBoxIndirectParam API, which I would have expected to set the focus automatically.

As a workaround I have added an explicit call to SetFocus which appears to have the desired effect. If you want to take advantage of this modification please download LBB v2.72 from the usual place. There are no other changes.

Richard.
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