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

  1. Path: grafix.xs4all.nl!jaba
  2. Date: Thu, 11 Jan 96 19:00:21 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: SetAttrsA() with BGUI
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: jaba@grafix.xs4all.nl (Jan Van.den.baard)
  10. Message-ID: <jaba.45so@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. Hello Daniel,
  14. In a message of 09 Jan 96 you wrote to me about SetAttrsA() with BGUI:
  15.  
  16.  DA> From: m-29431@mailbox.swipnet.se (Daniel Adolfsson)
  17.  
  18.  DA> I'm working on a program in Amiga-E using the BGUI.library.
  19.  
  20.  DA> My problem I have is that the following line doesn't update the
  21.  DA> checkbox
  22.  DA> (making it selected and disabled) until I resize the window or put it
  23.  DA> behind another window and then to front again (i.e. when it gets
  24.  DA> refreshed):
  25.  
  26.  DA> SetAttrsA(chk_intl,[GA_SELECTED,1,GA_DISABLED,1,TAG_END])
  27.  
  28.  Make this:
  29.  
  30.  SetGadgetAttrsA(chk_intl, win ,NIL,
  31.                            [GA_SELECTED,1,GA_DISABLED,1,TAG_END])
  32.  
  33.  Where 'win' points to the result as returned by the WindowOpen() macro,
  34. not the window object itself.
  35.  
  36.  DA> Have tried SetGadgetAttrsA() too..
  37.  
  38.  It works so you probably made a mistake.
  39.  
  40. Bye,
  41.  
  42.        Jan van den Baard
  43.  
  44.        Fido:   2:286/407.53 (Jan van.den.Baard)
  45.        EMail:  jaba@grafix.xs4all.n
  46. -- Via Xenolink 1.981, XenolinkUUCP 1.1
  47.