Subject Re: [IBO] HotKey character in grids
Author Geoff Worboys
> If i use fielddisplaylabel and use & to make a hotkey apear
> in a label the grid prints the literal character & and i
> don't wan't it Again i changed the code but want opinions
> on this if it is a good aproach (i mean to use
> fieldsdisplaylabel for this).

Back on the 20th of June, Riho-Rene posted a similar request...

> How can I define most easily shortcut letters (i.e. "&Name:") in
> AutoLabels? I defined the labels in Querys DisplayLabels, but
> then the Grid columns also showed '&'.
> I thought that defining GridLabel without '&' helps, but no.
>
> My proposition is to change Grid Labels this way that they
> ignore '&' symbols. If someone wants to have it, then he would
> enter it like '&&'.

I responded with...

> I have thought about the '&' problem before but I think that
> it is possibly more complicated than simply ignoring in
> IB_Grid, since displaylabels may be used in other circumstances.
> Perhaps it would be possible to setup the DisplayLabel/GridLabel
> properties so that you can input '&' characters but these will
> be filtered from normal access, and we introduce a separate
> property that retrieves the value unfiltered (for use in
> AutoLabel). Not sure if I think it is worth it - when you
> could just use a normal label.
>
> Comments?


I am a little concerned with introducing the change because it may
upset some existing applications (suddenly having the '&' character
filtered). Perhaps it is acceptable at this point because IBO4 is
only recently released. Jason?


Geoff Worboys
Telesis Computing