Subject | Re: [IBO] HotKey character in grids |
---|---|
Author | Geoff Worboys |
Post date | 2001-08-04T01:45:13Z |
> If i use fielddisplaylabel and use & to make a hotkey apearBack on the 20th of June, Riho-Rene posted a similar request...
> 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).
> How can I define most easily shortcut letters (i.e. "&Name:") inI responded with...
> 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 have thought about the '&' problem before but I think thatI am a little concerned with introducing the change because it may
> 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?
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