EditBox/TextBox - improvement

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
KDJ
Posts: 166
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland
Been thanked: 149 times

EditBox/TextBox - improvement

Post by KDJ » Thu Jun 08, 2017 7:12 pm

The following example shows how to:
- save selection on lost focus and restore selection on got focus,
- switch Insert/Overtype mode (INS),
- select all text (Ctrl+A),
- increase/decrease font size (Ctrl+Num+/Ctrl+Num-),
- increase/decrease caret width (in Inset mode) or height (in Overtype mode).

Edit_Improved.zip
(1.47 MiB) Downloaded 129 times

martingz
Posts: 201
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico
Has thanked: 12 times
Been thanked: 4 times

Post by martingz » Fri Jun 09, 2017 12:43 am

Wow nice KDJ, thanks for sharing

User avatar
mol
Posts: 2841
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 118 times
Been thanked: 64 times
Contact:

Post by mol » Fri Jun 09, 2017 8:37 am

ctrl+num+ - increase font size
ctrl+num- - decrease font size
works only one time...

User avatar
bpd2000
Posts: 948
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 118 times
Been thanked: 42 times

Post by bpd2000 » Fri Jun 09, 2017 8:45 am

mol wrote:
Fri Jun 09, 2017 8:37 am
ctrl+num+ - increase font size
ctrl+num- - decrease font size
works only one time...
Mol
I am not facing such problem
My OS is Win10 64bit
BPD
Convert Dream into Reality through HMG

Marin
Posts: 27
Joined: Tue Dec 20, 2016 1:39 pm
DBs Used: DBF
Location: Bulgaria, Sofia
Has thanked: 26 times
Been thanked: 3 times
Contact:

Post by Marin » Fri Jun 09, 2017 10:20 am

Thank you very much, KDJ, for your efforts and sharing.

Have a nice day,
Marin

edk
Posts: 166
Joined: Thu Oct 16, 2014 11:35 am
DBs Used: DBF
Location: Poland
Has thanked: 43 times
Been thanked: 97 times

Post by edk » Fri Jun 09, 2017 11:36 am

bpd2000 wrote:
Fri Jun 09, 2017 8:45 am
mol wrote:
Fri Jun 09, 2017 8:37 am
ctrl+num+ - increase font size
ctrl+num- - decrease font size
works only one time...
Mol
I am not facing such problem
My OS is Win10 64bit
+1

User avatar
Steed
Posts: 292
Joined: Sat Dec 12, 2009 3:40 pm
Been thanked: 2 times
Birthday

Post by Steed » Fri Jun 09, 2017 3:56 pm

Thanks

RPC
Posts: 95
Joined: Fri Feb 10, 2017 4:12 am
Has thanked: 22 times
Been thanked: 3 times

Post by RPC » Fri Jun 09, 2017 7:27 pm

Excellent work KDJ
Many thanks.

EduardoLuis
Posts: 517
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Been thanked: 28 times

Post by EduardoLuis » Fri Jun 09, 2017 9:44 pm

Exellent job KDJ.- Works fine under Win XP SP3, 7, & 8.-
Thanks for share.-
Eduardo

Post Reply