Re: read-only section editors [Code Preview]

From: =?UTF-8?Q?S=C3=A9bastien_Lacroix?=

Date: 22 Feb 2007


> Message du 22/02/07 16:45
> De : "Jan Keirse" 
> A : 8b4a52fe-9ac3-7dbb-de11-b2013895d41d
> Hello,
> 
> I've always hated how small the code preview window was.
Me too, especially the fact it is a modal dialog.  I was always doing ctrl-A ctrl-C alt-F4 Ctrl-F3 ctrl-V (copying in a stantard untitled procedure window)

> You're probably capable of changing it's size if you wanted to, but that's
> a bit over my head so I replaced it with your code viewer this one:

The Code Viewer is nice guy for the options it has on right-click, but I would not use it to replace code preview.

Indeed (and I hope are aware of the following trick), with ABHack just press ctrl-Alt-E and you get the full generated code (as the file is saved on disk) in a separate standard Procedure Editor Window (resizable), and not read-only (expect if you are using RoundTable that finds out your object is already open...)
    => This is very convenient to do global replacements.

> 
> That's most likely not something everyone would want to do though ;-)
> Strangely however, every time I did a preview I started having the same 
> issue as I had with the XrefAnalCodeviewer utility from abhack. Removing 
> the read-only flag on the editors however solved the problem! Hence my 
> question: could you remove the read only flag from the xrefanalcodeviewer 
> in abhack?

Done for next release.

I was aware of this problem (limited to OE 10) and I had already removed it a long time ago from the Code Viewer that comes with the enhanced POV

Cheers
Sebastien L.
 
> Kind Regards,
> 
> JAN KEIRSE
> ICT-DEPARTMENT
> Software goederenstroom: Software Engineer
> Tel.: +32 56 43 42 45
> Fax: +32 56 43 44 46
> E-mail: 8b4a52fe-9ac3-7dbb-de11-b201cc21f234
> Contactsheet: JAN KEIRSE TVH FORKLIFT PARTS nv-sa - BRABANTSTRAAT 15 - 
> B-8790 WAREGEM 
> Neem even pauze om onze website te bekijken en vertel ons hoe we u kunnen 
> helpen: www.tvh.be/nl 
> Take a break to visit our site and tell us how we can help you today: 
> www.tvh.be 
> 
> **** DISCLAIMER **** 
> http://www.tvh.be/newen/pages/emaildisclaimer.html 
> 
> "This message is delivered to all addressees subject to the conditions set forth in the attached disclaimer, which is an integral part of this message." 
> 
> 



Sébastien Lacroix 

=============================================================== 
Author of the following guys on http://www.psdn.com: 
a) ABHack, free best ever made A4GBL hack to make your dreams come true 
in the AppBuilder 
http://www.psdn.com/library/entry.jspa?externalID=1886&categoryID=41 

b) pure4gltv.w, best ever ADM2 Smart Object (treeview in pure 4GL, you 
never dream that far) 

l) Enhanced Procedure Object Viewer