Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!mcsun!ukc!edcastle!mfg From: mfg@castle.ed.ac.uk (M Gordon) Newsgroups: comp.sys.amiga.programmer Subject: Modifying a string gadget from within a program Message-ID: <11169@castle.ed.ac.uk> Date: 19 Jun 91 10:29:30 GMT Organization: Edinburgh University Lines: 14 A program I am currently writing uses two string gadgets to display and allow alteration of an (x,y) coordinate. What I want to be able to do is to allow a mouse click in a window to also set these values. The problem is: how do I update the string gadgets? Can I just put the new value into the string gadgets buffer, set the longint value and refresh them or do I have to do something else? Thanks -- _ _ _ _ _ Michael Gordon - mfg@castle.ed.ac.uk OR ee.ed.ac.uk | |_| |_| |__| |_| | | . . . . . . | I spilt spot remover on my dog and now he's gone! |_________|~~|_____|