Re: bitwise operation doesn't work, what am I doing wrong?
- From: "Marc Rohloff" <marcrohloff_ng@xxxxxxxxxxx>
- Date: 28 Dec 2006 05:29:04 -0800
MikyMike wrote:
Oh My God! Sorry Rob and Terry, I just saw the problem, you're true I
can't verify the DT_LEFT since it's zero. I must verify the other
ones, then if the others are not set, them assume it's DT_LEFT.
Another way to do this is :
const
DT_HORZ_LIGN = DT_LEFT or DT_CENTER or DT_RIGHT;
case (Alignment and DT_HORZ_ALIGN) of
DT_LEFT : ....
DT_CENTER : ....
DT_RIGHT : ...
end;
--
Marc
.
- References:
- bitwise operation doesn't work, what am I doing wrong?
- From: MikyMike
- Re: bitwise operation doesn't work, what am I doing wrong?
- From: Rob Kennedy
- Re: bitwise operation doesn't work, what am I doing wrong?
- From: MikyMike
- Re: bitwise operation doesn't work, what am I doing wrong?
- From: Terry Russell
- Re: bitwise operation doesn't work, what am I doing wrong?
- From: MikyMike
- bitwise operation doesn't work, what am I doing wrong?
- Prev by Date: Re: Opendialog problem
- Next by Date: Maarten, I am still having trouble
- Previous by thread: Re: bitwise operation doesn't work, what am I doing wrong?
- Next by thread: Re: bitwise operation doesn't work, what am I doing wrong?
- Index(es):
Relevant Pages
|