home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4384 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.8 KB

  1. Path: news.netins.net!usenet
  2. From: tempest@netins.net
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: GadTools Question.
  5. Date: 28 Feb 1996 16:37:23 GMT
  6. Organization: INS Information Services, Des Moines, IA USA
  7. Message-ID: <0099E951.7BABE8A2@netins.net>
  8. References: <0099E783.C4ED2DAC@netins.net> <3131D278.41C6@dmu.ac.uk>
  9. Reply-To: tempest@netins.net
  10. NNTP-Posting-Host: ins.netins.net
  11.  
  12. In article <3131D278.41C6@dmu.ac.uk>, Timothy Eves <se1te@dmu.ac.uk> writes:
  13. >tempest@netins.net wrote:
  14. >> How can one go about Updating the text inside the gadget after the 
  15. >> window and gadget are open.  I have some definable gadgets and I want > to be able to display the new gadget text on the button without having > to open the window over again.  How can I just update it?  Maybe using > gerneric_kind?
  16. >
  17. >Hmm.. The generic kind is certainly one way of doing that, but that
  18. >would be diffcult.  I'm not sure if you can change the displayed label
  19. >by using SetGTAttr(), I can check.  The only other OS legal way of doing
  20. >it is to create a new GT gadget and replace the old one with it,
  21. >remeberimg of course to remove the gadget list from the window before
  22. >you go fiddling with any GadTools gadgets.
  23. >
  24.  
  25. I did find a way to do this one with button_kind.  It should be legal
  26. too since it is mentioend in the RomKernalReference in the gadtools
  27. chapter.
  28.  
  29. >> 
  30. >> Also I was wondering how I could make the Button_kind act like a > boolean type gadget.
  31. >
  32. >No, you most certainly can't, not without risking breaking GadTools
  33. >anyway.  The RKMs strictly forbid any poking around in a GadTools
  34. >created gadget, except generic_kind.
  35. >Any why? Thats why there are check box GadTools gadgets, and besides
  36. >that would go against the concistency that gadtools was created to help
  37. >produce.
  38. >
  39.  
  40. Well this is what my need was..  I had rows of button gadgets.. wanted
  41. to click one and have it stay highlighted to show which one I was 
  42. currelntly editing.  Like MX_KIND but not with small radio buttons, I
  43. wanted button_kind type gadgets that acted like MX_Kind... Select one,
  44. it stays highlighted, slect a different one in the set and all the rest
  45. are un-highlighed.. etc..  
  46.  
  47. I hope the next workbench adds alot to the gadtools.. there is many options
  48. that are just not there it seems.. 
  49.  
  50. I plan to make MUI versions of my programs too but many of my customers
  51. don't like MUI so I must maintain both versions to keep everyone happy.  I
  52. think MUI will be alot easier to code options I dream up though.
  53. Thanks for info.. 
  54.  
  55.  
  56. >Tim Eves
  57. >------------------------------------------------------------O----------------    
  58. >Out of the gloom came a voice, "Smile  and  be  happy things| EMail To:
  59. >could  be  worse",  it  said.  So I smiled and I was  happy,|
  60. >se1te@dmu.ac.uk
  61. >and  behold  things  did  get worse.                |
  62. >------------------------------------------------------------O----------------
  63.