Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!van-bc!icecave!patrick_meloy From: patrick_meloy@icecave.wimsey.bc.ca (Patrick Meloy) Newsgroups: comp.lang.rexx Subject: Re: RexxArpLib Message-ID: Date: 7 Jun 91 17:31:39 GMT Organization: Animatrix Lines: 29 >I think you have to RemoveGadget(), change your string, and then AddGadget() >it >back. At least this is what I did with my function key editor for VLT >(VLTFKEYS). > > Scott Yes, I have been doing that as well but it did seem somewhat kludgy.. On the other hand, I've just discovered a library called 'rxgen' that allows you to use (almost) all the standard amiga libraries within rexx. This even allows using the new 2.0 libraries and comes with examples that imnclude setting up one of the new 'appmenus' from 2.0. Only problem is that using the libraries is not any simpler than using them from C (with the exception that of no actual pointers). Only problem (if it can be called that) is that you need to know the offsets of each function, and what cast to use on the calling arguments. Any 1.3 libraries are easy because it comes with a rexx macro that converts 1.3 'FD' files into lists of offsets to be used. (Too bad we don't have 2.0 'FD' files, guess I'll have to go bug some REAL programmers :) Anyone wanting to do fancy intuition stuff with rexx (including gadtool1/boopsie) should have a peek at this! +------------------------------------+ | patrick_meloy@icecave.wimsey.bc.ca | | Ice Cave BBS, Vancouver,BC | +------------------------------------+