home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / tyglin21.zip / TYGLIN21.TXT < prev   
Text File  |  1995-07-16  |  3KB  |  42 lines

  1. Teach Yourself JBA Guidelines in 21 Days
  2.  
  3. When I started to look at JBA's Guidelines 2.1A I thought it was a fantastic GUI development tool for OS/2. The only problem was that in addition to being a relatively unskilled 'C++' programmer I had no skills whatsoever in the JOT language used by Guidelines. I did notice however that there seemed to be a similarity between Visual Basic and JOT so started to develop Guideline examples based on the examples in the SAMS book 'Teach Yourself Visual Basic in 21 Days' by Gurewich and Gurewich. 
  4.  
  5. I intend to work through all those examples and then put them out for the use of others interested in Guidelines who would like to start off at a relatively low level and work up. If you have a copy of the VB book it will make the examples more understandable. Perhaps I will even write enough to include a book with these examples at some point.
  6.  
  7. Chapter 1     Hello.gui
  8.  
  9. Chapter 2     Speed.gui.
  10. This example is not quite complete as although Guidelines provides a track function for sliders the .Pos property does not update until a mouse click. Thus you cannot see the figures changing as you move the slider. JBA is aware of the problem and presumably is addressing it. I did not take the time to try to find a work around at this point hoping that a release with bug fixes would be the solution. (3.1?)
  11.         Option.gui
  12.  
  13. Chapter 3    Multiply.gui
  14.         Sum.gui    
  15.         Timer.gui
  16. This program is somewhat more involved as the Base code of Guidelines (that provided on the Internet as shareware) does not have a timer function built in. My understanding is that the Professional Developers Kit (PDK) does    but I am not ready to move to that just yet so found a work around using a thread. The result is that for a relatively simple procedure I now have an example of using both 'Threads' and using 'C++' in JOT.
  17.  
  18. Chapter 4     Move.gui
  19.         Draw.gui
  20. VB has a built in control to allow resizing of a window drawing on it but Guidelines does not, so I had to find a work around for it also.
  21.         Howoften.gui
  22.         Button.gui
  23.         Button2.gui
  24.         Drag.gui - use mouse button 2 to drag and drop.
  25.         Drop.gui - included as part of Drag
  26. Chapter 5    Colors.gui
  27.         Grow.gui - postponed until the release of 3.1 which will have an command called softmenu which should allow menus to be added to dynamically.
  28.  
  29. Chapter 6    message.gui
  30.         dialogs.gui - no date function in GL's and did not want to create one now so skipped the date entry field.
  31.         Common.gui - no attempt made to duplicate the VB cmdialog.vbx
  32. Chapter 7
  33.         line.gui
  34.         shape.gui - no line thickness change available
  35.         moveeye.gui - icon included
  36.         moon.gui - icons included
  37.  
  38. Thanks to Andrew Lamb at JBA support for his help on some questions. Hopefully the use of this by others will cut down on the number of questions he will have to respond to in the future.
  39.  
  40. Please let me have your comments and input. Perhaps you know of ways to do some of the things I have left out or perhaps there are better ways to do some of the things that I have done.
  41.  
  42. Internet mtalexa@ibm.net