On Monday 19 August 2013 14:22:57 amateur wrote:
> What do you think about this example?

Nice! :-)

Suggestions:

Activate simpletext.optionswidget ow1_autoscale in order to synchronize grid 
row height with font height, RightClick-'Sync. to Font Height' on simpletext 
at design time in order to adopt the current font height. There seeems to be 
a problem with og_rowheight and font height adoption, I need to investigate.

"
  if simpletext.hasselection then
    actCopy.state := actCopy.state - [as_disabled]
    else
      actCopy.state := actCopy.state + [as_disabled];  
"
can be simplified:
"
 actcopystate.enabled:= simpletext.hasselection;
"

If you plan to implement shortcuts use "taction" (tab Gui) instead 
of "tnoguiaction", RightClick-'Show as Text' on the main form, 
replace "tnoguiaction" by "taction", RightClick-'Show as Form'. In main.pas 
replace "tnoguiaction" by "taction" too.

Do you like to post the example to MSEuniverse?

Martin

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to