Subject | Re: [IBO] TIB_Edit |
---|---|
Author | Geoff Worboys |
Post date | 2001-08-04T07:27:09Z |
> but the change is one single line.Hmmm... Curious, I only just realised that TIB_Edit is already setup
> You say that the alignment work on multiline only. Using Win98SE
> that is not corect. You still have to trick
> the API to do what you want though.
> Here it goes:
> (longint(Params.Style) or Alignments[FAlignment]) and not
> longint(es_Multiline);
> aparently it works just fine without es_multiline BUT BEWARE i
> said i tested only in Win98SE, it might not work
> on other platforms ...
as a multiline control - when it contains a button - with the
associated problems of paste etc that I was talking about. I've been
using my own EditEnh control for so long I've lost track.
The code you show does NOT achieve the desired effect under Windows
2000. I just tried it and it only works if I also set the control to
multi-line. If you want to do the rest of the work required to make a
multi-line control work as a single line control check out my code in
EditEnh.
Geoff Worboys
Telesis Computing