home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / delphi / kolekce / d345 / JWTOOL.ZIP / jwtool / jwTools_Readme.txt < prev    next >
Encoding:
Text File  |  2001-09-29  |  5.0 KB  |  104 lines

  1. JwPackage - v1.02
  2.  
  3.         When I started learning how to do components, I really did start with
  4. a Corriolis book and a few "stupid" ideas.  Namely, the TSmilie and the TLinez.
  5. (I actually started using the TLinez because I didn't like the behavior of the
  6. TBevel--And I was able to get a nice 3-D look out of it...).  Then I started
  7. moving on to making components that actually solved a problem of some sort.  At
  8. first I was working as if I wasn't sure if I was going to be "backwards compatable"
  9. with Delphi 1 and Delphi 3-5, but over time it became ridiculous.  Also, I was
  10. unsure if I was going to use each one over another, so I did actually duplicate
  11. a lot of code between each unit--it took me some time to decide on a "Package"
  12. solution.  But I have actually used many of these components in my software, so
  13. I hope other might find them useful.  I packed the "register" unit here so that if
  14. there is any one that is "undesired" (you know, I would LOVE for someone to use
  15. my JwSmile in some sort of application--even as an easter egg...) just comment it
  16. out here, and your done.
  17.    Here's a breif overview of what I did and what I was thinking:
  18.  
  19.      JwAutAbt:
  20.   This is a non-visual component to encapsulate an "About" box.  At the time, I was
  21. attempting to meet a ISO900X standard, so I added lotsa of info.
  22.  
  23.      JwBinRES:
  24.   I really never liked Res files and there are some cases where it's much easier to
  25. just drop a extra file into a component so it can just be included into the DFM file.
  26. That was exactly what I did with the BMPRes and such, but for the longest time I couldn't
  27. figure out how.  Now this component will not only take ANY file even if it is binary
  28. and allow it to be converted to a TMemoryStream.  PERFECT for the Abrevia unit and
  29. zip files (that's from Turbo Power if you didn't know--it ain't cheap either!)
  30.  
  31.      JwBmpRes:
  32.   I never liked the idea of dropping components just to set the component to VISIBLE=False.
  33. It just seemed too sloppy for me.  So I created this non-visual component that just stored
  34. the TGraphic, since Delphi came with all sorts of component editors for that sort of thing
  35. already.
  36.  
  37.      JwByPs:
  38.   One programmer who worked for me needed to have a checkbox that had a behavior that would
  39. allow him to prevent a "Click" even tho it was enabled.  The exact reason escapes me right
  40. now, but it made sence then.  You must admit, ENABLED=FALSE on TWinControls behave very
  41. differently.
  42.  
  43.      JwFshCl:
  44.   I kept seeing these CD Menus that had static labels that behaved like url links--they
  45. "Flared" out when the mouse was over it.  I really liked the idea, since you can always
  46. add an event to a TLabel, but how's the user going to know it has that behavior?  By
  47. having this event, the user has some sort of signal.  I used this 3-Staged event
  48. behavior on a lot of cases.
  49.  
  50.      Jwfshpn:
  51.   I did this one just like the JwFshCl except on a TPanel so I could create an ActiveX
  52. control to import into Access.  I did it, but I wasn't able to make it work with the
  53. Access reports...ah well.
  54.  
  55.      JwLabel:
  56.   This is just a TLabel, but with total access to the font itself.  I didn't really want
  57. to mess to much with it, so I added some.. fixes.. to make a rotated font in the window.
  58.  
  59.      JwLinez:
  60.   I think in every example or book on Components starts with the drawing of a line.  I
  61. actually started using this in apps to created a sort of 3-D effect.
  62.  
  63.      JwPopbtn:
  64.   This one didn't turn out that well, but it was supposed to "Popup" whenever the mouse
  65. was over the component.  It was a bit messy with "unexpected" or "random" events.
  66.  
  67.      JwRotPan:
  68.   This just made a JwLabel for a TPanel.  Again, for ActiveX stuff.
  69.  
  70.      Jwrtfsh:
  71.   This is a Combination of JwLabel and JwFshCl.
  72.  
  73.      jwShellBrowseFolder:
  74.   This is a browse for folder using the call to SHBrowseForFolder.  Unfortunatly, it doesn't
  75. work exactly as I wanted.  I need more research into the whole conversion of C++ to Delphi.
  76.  
  77.      JwSmile:
  78.   You know, I just wanted to know if I could do it.
  79.  
  80.      JwStgPnl:
  81.   I wanted a 3-staged button, or at least a panel that had three states that I could
  82. test easily.  It could be easily done in code, but I figured that I should make it into
  83. a component.
  84.  
  85.      JwStrRes:
  86.   Much like the BinRes and BmpRes, this is a non-visual component to store text.
  87.  
  88.      JwWrpbtn:
  89.   I really wanted to have a button that had some of the behaviors of the TLabel, so I
  90. created a TLabel that had the painting behaviors of the TButton.   Again, this didn't work
  91. out as close as I would have liked.
  92.  
  93.   I give this source as freeware with no assurances or warentees involved.  Use at your own risk.
  94. Anyone can use this code for any project you wish, however I humbly request that my name and email
  95. address be given somewhere in the credits.
  96.   My contact info is:
  97.  
  98. Joseph Wilcock
  99. Coockoo@hotmail.com
  100. http://msnhomepages.talkcity.com/RedmondAve/coockoo/
  101.  
  102.   PS:  When you read the comments in the source, please remember that I did these over
  103.     a great span of time--I've changed my styles and "Programming Superstions" since.
  104.