There is no reason why abstract class couldn't be protected...
protected is an access modifier - a protected field (or class) can be accessed only by containing class or its descendants.
abstract means that class cannot have any instances (because it constains abstract methods - methods which...
You forgot to increment t in your while loop,
change it to
t = 0;
while(t<shapeList.size())
{
Shape s = (Shape)shapeList.get(t);
g2.setPaint(Color.blue);
g2.draw(s);
t++;
}
There is also a typo in the constructor...
You could intercept the WM_NCHITTEST message.
To do so, put this into your form's declaration.
procedure WMNCHitTest(var M: TWMNCHitTest); message WM_NCHitTest;
and this in the implementation part...
procedure TForm1.WMNCHitTest(var M: TWMNCHitTest);
begin inherited;
{if the mouse clicked on...
Procedure 'PickProb' modifies some
properties of TMA26f1, but it is
executed BEFORE the form is created...
Remove the call to PickProb from last
lines.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.