VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12[3]45678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 17:51:07 09/25/03 Thu
Author: Mike Haiss
Subject: Re: ZoomToSelection()
In reply to: Michel 's message, "Re: ZoomToSelection()" on 06:55:44 09/25/03 Thu

Thanks Michel,
((TRubberbandMouseHandler *)ImageScrollBox1->MouseHandler)
->SelectionActive
works good
>
>Hi Mike,
>
>I don't remember the exact syntax in CBuilder but
>Delphi is like this,
>
>(ImageScrollBox.MouseHandler as
>TRubberbandMouseHandler).SelectionActive;
>
>I think the "as" operator is a dynamic_cast in
>CBuilder.
>
>Best regards,
>
>Michel
>
>>How would I test to make sure the rubberband is active
>>before calling a ZoomToSelection()?
>>Using C++ Builder 5.
>>
>>Thanks
>>Mike

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.