Enhanced Rich Edit Demo

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
kcarmody
Posts: 122
Joined: Tue Oct 07, 2014 11:13 am
Has thanked: 6 times
Been thanked: 16 times
Contact:

Enhanced Rich Edit Demo

Post by kcarmody » Fri Nov 07, 2014 10:30 am

I've overhauled and enhanced the Rich Edit demo and put it on my web site at http://kevincarmody.com/hmg/SAMPLES/Con ... chEditBox/.

This version uses the justify fix and GetFile/PutFile enhancements that I posted before. See http://www.hmgforum.comviewtopic.php?f=20&t=3995 and viewtopic.php?f=8&t=4009.

This version includes several other enhancements:
  • * Main menu
    * List of recently used files
    * Resizable windows
    * Ctrl-B, Ctrl-I, Ctrl-U supported
    * File name in title, file name and page in status bar
    * Modified flag, caps lock, num lock, insert status on status bar
    * Window size, font name and size, recently used file names stored in registry
    * Paragraph numbering
    * Read and write text files, including workarounds for Unicode text files
    * Other enhancements
The handling of Unicode text files is an issue that I will bring up in another topic.

Kevin

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

Post by mol » Fri Nov 07, 2014 11:28 am

WOW!
Great job, Kevin.
Thanks for sharing!
You should pack all files into one archive before share it.
It's hard to download every resource file one by one.

User avatar
kcarmody
Posts: 122
Joined: Tue Oct 07, 2014 11:13 am
Has thanked: 6 times
Been thanked: 16 times
Contact:

Post by kcarmody » Fri Nov 07, 2014 11:45 am

Mol, thanks for reminding me about this. I've made a zip file in http://kevincarmody.com/hmg/SAMPLES/Con ... chEditBox/ with the whole demo. Remember to also download the justify and dialog enhancements and rebuild the HMG library. The question about Unicode text files is in viewtopic.php?f=8&t=4031.

User avatar
bpd2000
Posts: 1078
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 197 times
Been thanked: 96 times

Post by bpd2000 » Fri Nov 07, 2014 12:00 pm

Thank you Mr. Kevin
BPD
Convert Dream into Reality through HMG

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Fri Nov 07, 2014 12:20 pm

mol wrote:WOW!
Great job, Kevin.
Thanks for sharing!
You should pack all files into one archive before share it.
It's hard to download every resource file one by one.
+1
Viva INTERNATIONAL HMG :D

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

Post by mol » Fri Nov 07, 2014 2:39 pm

Sorry, I have no experience with Unicode :-(

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Fri Nov 07, 2014 4:41 pm

Hola Kevin,

Quise compilar tu demo y me sale el siguiente error:
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/
C:/Users/Maquina9/AppData/Local/Temp/hbmk_28a2lo.dir/demo.o:demo.c:(.data+0x778): undefined reference to `HB_FUN_HMG_ISNOTDEFPARAM'
collect2: ld returned 1 exit status
hbmk2[demo]: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/Maquina9/AppData/Local/Temp/hbmk_28a2lo.dir/demo.o C:/Users/Maquina9/AppData/Local/Temp/hbmk_28a2lo.dir/hbmk_41jxts.o C:/hmg.3.3.1/Mios/DemoRichEditBox/_temp.o -Wl,--nxcompat -Wl,--dynamicbase -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -odemo.exe -LC:/hmg.3.3.1/harbour/lib/win/mingw -LC:/hmg.3.3.1/lib

hbmk2: Error: Funci¢n(es) referenciada, no encontrada, pero desconocida:
HMG_ISNOTDEFPARAM()
Sabes a que se refiere ese error al compilar?

Saludos

User avatar
serge_girard
Posts: 2342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 588 times
Been thanked: 124 times
Contact:

Post by serge_girard » Fri Nov 07, 2014 4:44 pm

Thanks Kevin !

I will give a try as soon as I wiil be at home.

Serge

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Fri Nov 07, 2014 5:30 pm

kcarmody wrote:I've overhauled and enhanced the Rich Edit demo...
Thanks Mr. Carmody, tried, no problem, everything is fine :arrow:

May (or may not) a bit think on About page :?
Javier Towar wrote:Quise compilar tu demo y me sale el siguiente error:
...
Sabes a que se refiere ese error al compilar?

Hi boy !

You need learn : real programmers never send anything without adequate tested ;)
Viva INTERNATIONAL HMG :D

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Fri Nov 07, 2014 8:02 pm

esgici wrote:Javier Towar wrote:
Quise compilar tu demo y me sale el siguiente error:
...
Sabes a que se refiere ese error al compilar?

Hi boy !

You need learn : real programmers never send anything without adequate tested
Pues tienes razón en que necesito aprender y mucho, y por eso pregunto, ya que mi conocimiento es escaso y no puedo resolver este problema de compilación, ES AQUÍ EL LUGAR PARA APRENDER O SOLO ES PARA LOS QUE SABEN??? SR. ESGICI???

Saludos

Post Reply