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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by enonod

  1. enonod

    USB Printing via network

    I have tried this with no knowledge of networking setup. I have a built in adaptor in laptop. It has no external connection to other computers. I attached printer sharing to this (that's all I did) then when setting the network on VPC 2004 I found my network adaptor in the list and selected it...
  2. enonod

    Dreaded Self, why here?

    Thank you both for your observations. I believe I follow what has been said with the exception of the last part from Zathras. Since I am constantly trying to learn, all observations are welcome, especially critical. I did omit the Board1 setup thinking it irrelevant and thought too much code...
  3. enonod

    Dreaded Self, why here?

    Using the following extract will somebody please tell me why, in the implementation section (blue), I must put self in front of height and width otherwise I get zero as the values?? Also why wasn't it required in the other (red) position? The code was working without this when I first wrote it...
  4. enonod

    Tscrollbox coordinates

    Thank you Zathras I will give it a try Regards enonod
  5. enonod

    Tscrollbox coordinates

    I have a TScrollBox with attached control canvas. I draw graphic controls and when scrolled, their left coordinate shows the amount of movement as negative as expected. When I draw lines and retain the coordinates of the start position these of course do not update and it requires that I...
  6. enonod

    lastkey() function as in clipper

    Hello I was also a Clipper programmer, but I guess it's dead now. Try this link www.swissdelphicenter.ch/torry/showcode.php?id=680 which is in the tips section of Torry's Delphi Pages. It shows code containing WM_Laskey as a keyboard event. It could be it's already present. Hope it's useful
  7. enonod

    Mouse burrowing

    Thank you Zathras for your example. The concept sounds good and I will experiment to death with it and the previous one with the scrollbar which is also very interesting. I am particularly interested in the direct WM useage, I am not familiar with that and will need to study it and play, it...
  8. enonod

    Mouse burrowing

    Thanks Zathras I have tried the code now and believe you have used the scrollbar to simulate one of my tracks. It certainly appears to work but seems a bit of a cheat?? It could almost be the same as clicking any of my tracks, mutiply the position by track height etc to get the coords relative...
  9. enonod

    Mouse burrowing

    I am a little confused by your comment about the mouse up/down event remaining constant regardless of scroll with Timage. If a hole in a track is off screen, then when I scroll it into view and click on it the coords must be the physical position in the scrollbox plus the amount of scrollbar...
  10. enonod

    Mouse burrowing

    I am confused about the TScrollBar. I think you may have misread my post, I am using a TScrollBox which has auto scrollbars built in. As explained the purpose of this is to avoid scrolling the whole window, lest I lose my status bar and buttons etc. I have no other scrollbars. The TScrollbox is...
  11. enonod

    Mouse burrowing

    Thanks for sticking with me Zathras Starting at the interface, a window (form). The window contains a status bar various menus and buttons for selection etc. Because the user chooses the number of Tracks and Holes the window size is unknown and scroll bars are often needed. To avoid scrolling...
  12. enonod

    Mouse burrowing

    The project consists of simulating strips of veroboard. If you are not familiar this is used for electronic prototyping and consists of a piece of board covered with copper strips. The strips are drilled along their length at 0.1 inch intervals. The boards therefore consists of a variable number...
  13. enonod

    Mouse burrowing

    Thanks Zathras for trying under duress. I would still like your help, because you provide very useful examples from which I can learn. I think the best way forward is for me to drop the 'simplified' model and explain the actual job, which I thought might get us entangled in something too big...
  14. enonod

    Mouse burrowing

    Thank you Zathras for coming to my rescue. I guessed that if I explained at length I would not make something quite clear. The description is generic for simplicity. It didn't occur to me to say that the only items visible are the 200 (say) squares. The sets of boards are not visible and thus...
  15. enonod

    Mouse burrowing

    I apologise for the lengthy explanation but I hope it is clear. All objects must be produced on the fly, not ready made components. In generic terms, I want a large board on top of which are say 4 smaller boards side by side all touching and covering the lower board. On each of the 4 top boards...

Part and Inventory Search

Back
Top