Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: KLP
  • Order by date
  1. KLP

    OO Question

    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...
  2. KLP

    OO Question

    whoops... I meant public abstract class SomeClass { ... } Sorry.
  3. KLP

    OO Question

    You hava to declare the class as abstract, like this public abstract SomeClass { ... }
  4. KLP

    Java2D outputing shapes from an array

    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...
  5. KLP

    Find if a file exists?

    Try this: function fileExists(fname: String): boolean; var f: file of byte; begin...
  6. KLP

    Moving a borderless from.

    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...
  7. KLP

    Heeeeeelp(Use Step or Run)

    Procedure 'PickProb' modifies some properties of TMA26f1, but it is executed BEFORE the form is created... Remove the call to PickProb from last lines.

Part and Inventory Search

Back
Top