Enhanced Rich Edit Demo

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
kcarmody
Posts: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Enhanced Rich Edit Demo

Post by kcarmody »

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: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Enhanced Rich Edit Demo

Post by mol »

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: 152
Joined: Tue Oct 07, 2014 11:13 am
Contact:

Re: Enhanced Rich Edit Demo

Post by kcarmody »

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: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Enhanced Rich Edit Demo

Post by bpd2000 »

Thank you Mr. Kevin
BPD
Convert Dream into Reality through HMG
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Enhanced Rich Edit Demo

Post by esgici »

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: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Enhanced Rich Edit Demo

Post by mol »

Sorry, I have no experience with Unicode :-(
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Enhanced Rich Edit Demo

Post by Javier Tovar »

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: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Enhanced Rich Edit Demo

Post by serge_girard »

Thanks Kevin !

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

Serge
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Enhanced Rich Edit Demo

Post by esgici »

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

Re: Enhanced Rich Edit Demo

Post by Javier Tovar »

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