Edit Extended / Edit WorkArea - ABM / ABM2
Moderator: Rathinagiri
Re: EDIT EXTENDED OPTIONS
Oh ok .. That makes sense now.. I haven't used arrays so much lately. Thanks for making it clearer.
_________________
Sincerely,
Mike
Sincerely,
Mike
Edit Extended / EDIT WORKAREA - ABM / ABM2
Can the backgroundcolor and the font (size - bold ...) of an edit extended window be changed?
Richard
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: edit extended
Hello Richard
The source code of Edit Extended is here : <hmg_Root\Path>\SOURCE\EDITEX\h_edit_ex.prg
You can read, inspect and change (if necessary) it.
Regards
--
Esgici
I haven't sufficient experiment on Edit Extended; so, I haven't a neat answer for your question.t57042 wrote:Can the backgroundcolor and the font (size - bold ...) of an edit extended window be changed?
The source code of Edit Extended is here : <hmg_Root\Path>\SOURCE\EDITEX\h_edit_ex.prg
You can read, inspect and change (if necessary) it.
Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: edit extended
Thanks for the information.
Do I only have to change that sourcefile, the rest is automatically adapted?
Richard
Do I only have to change that sourcefile, the rest is automatically adapted?
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: edit extended
Hi Richard
After change(s), you have re-build library.
For more info, you can look at here for re-building issues.
My suggestion is : begin with source code of Edit Extended, you can build your own; only consideration is give a different name to it.
And, if the result will be satisfactory for you, please share it with us.
Happy HMG'ing
Regards
--
Esgici
Sadly not57042 wrote:Do I only have to change that sourcefile, the rest is automatically adapted?
After change(s), you have re-build library.
For more info, you can look at here for re-building issues.
My suggestion is : begin with source code of Edit Extended, you can build your own; only consideration is give a different name to it.
And, if the result will be satisfactory for you, please share it with us.
Happy HMG'ing
Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: edit extended
Isn't it possible too change the font (and other parameters) from within the application program, without touching the library?
Richard
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: edit extended
Hi Richard
Regards
--
Esgici
If library module doesn't have (support) such parameters; not57042 wrote:Isn't it possible too change the font (and other parameters) from within the application program, without touching the library?
Regards
--
Esgici
Viva INTERNATIONAL HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: edit extended
Hi Richard
Happy HMG'ing
Regards
--
Esgici
This is my humble work for you; I hope will give you an ideaesgici wrote:My suggestion is : begin with source code of Edit Extended, you can build your own; only consideration is give a different name to it.
Happy HMG'ing
Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: edit extended
Hello,
thank you very much , works nicely, but ...
I am working with hmg version 3.0.28 (window issues) and here i get an error:
furthermore I want to try recordlocking when double clicking to open the editwindow and I tried to use the source with this added at the end:
this compiles but when running I get:
sorry for the trouble
thanks
Richard
thank you very much , works nicely, but ...
I am working with hmg version 3.0.28 (window issues) and here i get an error:
Code: Select all
building...
hbmk2: Processing configuration: C:\hmg.3.0.28\harbour\bin\hbmk.cfg
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
EdRExDemo.o:EdRExDemo.c:(.data+0x2a8): undefined reference to `HB_FUN_RABM2'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe EdRExDemo.o hbmk_8cikqe.o C:/hmg.3.0.28//resources/minigui.o -mwindow
s -Wl,--start-group -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph
-lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql
-lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbf
image -lhbpgsql -lpq -lhbtip -lhbct -lhbmisc -lhbnetio -lxhb -lhbextern -lhbdebu
g -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgt
gui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -l
hbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32 -luser32 -lgdi32 -
ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -lo
leaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -W
l,--end-group -oEdRExDemo.exe -LC:/hmg.3.0.28/harbour/lib -LC:/hmg.3.0.28//lib
hbmk2: Processing configuration: C:\hmg.3.0.28\harbour\bin\hbmk.cfg
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
EdRExDemo.o:EdRExDemo.c:(.data+0x2a8): undefined reference to `HB_FUN_RABM2'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe EdRExDemo.o hbmk_8cikqe.o C:/hmg.3.0.28//resources/minigui.o -mwindow
s -Wl,--start-group -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph
-lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql
-lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbf
image -lhbpgsql -lpq -lhbtip -lhbct -lhbmisc -lhbnetio -lxhb -lhbextern -lhbdebu
g -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgt
gui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -l
hbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32 -luser32 -lgdi32 -
ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -lo
leaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -W
l,--end-group -oEdRExDemo.exe -LC:/hmg.3.0.28/harbour/lib -LC:/hmg.3.0.28//lib
Code: Select all
function main
use klanten new
abm()
return
Code: Select all
EDIT, workarea name missing
thanks
Richard
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: edit extended
Hello Richard
If I understood right, something missing either your configuration or your build way (script).
- Open content of EditRExt.zip file to a separate folder.
- Open EdRExDemo.hbp file by HMG-IDE and press RUN button
OR
- Use a built script ( a batch file ) like this :
Regarding second issue :
EditRExt didn't change anything in HMG. So, you can't use it same as using EDIT EXTENDED. For using it you need
- Add EditRExt.ch file to every project folder
- Add this line to top of MAIN module file of your project :
- And for calling Edit RExtended, use
command; no any other command or function. Such as :
I hope this info will help you; please inform me about result.
Regards
--
Esgici
I don't know what type of build process you are using ( I prefer always HMG-IDE )t57042 wrote:... i get an error:
If I understood right, something missing either your configuration or your build way (script).
- Open content of EditRExt.zip file to a separate folder.
- Open EdRExDemo.hbp file by HMG-IDE and press RUN button
OR
- Use a built script ( a batch file ) like this :
Code: Select all
call C:\hmg.3.0.28\build.bat EdRExDemo
EditRExt didn't change anything in HMG. So, you can't use it same as using EDIT EXTENDED. For using it you need
- Add EditRExt.ch file to every project folder
- Add this line to top of MAIN module file of your project :
Code: Select all
#include "EditRExt.ch"
Code: Select all
EDIT REXTENDED ...
Code: Select all
function main
use klanten new
EDIT REXTENDED // no abm() or any other
return
Regards
--
Esgici
Viva INTERNATIONAL HMG