On Friday 26 July 2013 20:49:33 Sieghard wrote:
> Hallo Martin,
>
> Du schriebst am Fri, 26 Jul 2013 06:08:18 +0200:
>
> [complexity]
>
> > tlabel does a preprocessing in the opposite direction too so I think
> > it is not bad to introduce an option which eliminates the need for
> > both.
>
> Yes, and I'd say that a _label_ doesn't need the ability for prompt
> character designation processing at all, so the very basis for the
> option hick-hack would be missing in the first place - much less
> complexity for the whole system.

The underline in caption properties is a marker for the Alt+CharacterKey input 
focus change target, a Delphi relict. In order to display simple text use 
tstringdisp (as I advised minoshi), in order to show formatted text use 
trichstringdisp. trichstringdisp does not use markup but has a "richvalue" 
property of type richstringty.
"
 richstringty = record
  text: msestring;
  format: formatinfoarty;
  flags: richflagsty;
 end;
"

> (On the other hand, if there is this special capability for a _label_,
> why's it missing the ability to show other markups then, like bold,
> italic and such? I guess it's just a disregarded relic from an -
> overfeatured - ancestor class.)
>
> > True. Users who got MSEgui features in their favor should be
> > obligated to maintain the documentation. ;-)
>
> Agreed, if they requested this special feature explicitly.
> I remember situations, though, where a user asked how to handle some
> situation, and the system author responded with a suggestion for
> another feature or option, immediately followed by the announcement of
> its (experimental, yet in the main branch) implementation - and a
> user's response to the effect that the issue was solved otherwise.
> Too late...

I try to fullfill the user needs in a most universal and orthogonal way. Often 
instead to implement a special feature I remove a limitation of a already 
existing functionality or add a flag in option set property. Option flags use 
a single bit in a 32 bit number only and are memory efficient.

> (You certainly know the german phrase "voreilender Gehorsam"? :->)
> Yes, indeed, I think you're often overresponsive.
>
I try to make MSEgui so that the users can work with it in the manner they 
like, they should not be forced to use a specific pattern. So I always try to 
remove limitations even if my own code never will suffer from the limitations 
and if I don't like how the user builds his application.

Martin

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to