Subject | Re: [IBO] Press ESC key in a grid |
---|---|
Author | Lucas Franzen |
Post date | 2001-08-24T23:20:13Z |
Wow Jason,
I knew that you're fast.
But this time (according to the mail-timestamps) you answered before I
even asked :-)
Jason Wharton schrieb:
the KeyDown-message itself when pressing F2.
[ gnF2Edits, gnF2Posts ] are enumarations of TIB_Grid_NavOptionType,
FNavigateOptions is a set of TIB_Grid_NavOptionType.
So what does the "*" do?
(Forgive my ignorance, it's just a part of Delphi I've never used so far
- but you're never too old to learn).
Luc.
I knew that you're fast.
But this time (according to the mail-timestamps) you answered before I
even asked :-)
Jason Wharton schrieb:
>You're right - it's the TCustomGrid - it doesn't swallow the key, but
> I think it might have something to do with what is done in the TCustomGrid
> base class. Take a little time and see what it does in there.
the KeyDown-message itself when pressing F2.
> > P.S.:I haven't seen this so far and was wondering about the "*".
> >
> > would anyone like to explain the following line:
> >
> > if [ gnF2Edits, gnF2Posts ] * FNavigateOptions <> [] then ...
> >
> > to me (just to increase my knowledge)
>
> What is it you are wanting to know here? Looks straight forward to me.
[ gnF2Edits, gnF2Posts ] are enumarations of TIB_Grid_NavOptionType,
FNavigateOptions is a set of TIB_Grid_NavOptionType.
So what does the "*" do?
(Forgive my ignorance, it's just a part of Delphi I've never used so far
- but you're never too old to learn).
Luc.