Board index » delphi » Careful with TBitmap
p...@pobox.com
![]() Delphi Developer |
Sun, 12 Jul 1998 03:00:00 GMT
Careful with TBitmap
Be careful if you have both WinTypes and Graphics in your uses clause, and you
want to declare a variable of the object type TBitmap... Since it is also a Type in the WinAPI, it conflicts. Thus: btmp: TBitmap Will NOT work if your uses clause is set as I said. (Delphi thinks it is The workaround is: btmp: Graphics.TBitmap Just a tidbit I ran into that I thought might save someone else some grief... +------------------------------------------------------------+ Quote>>SQUID - The ultimate database reader, and NO limits. #$737961 |