Date: Thu, 11 Nov 2004 09:24:26 -0800
Reply-To: m n <iced_phoenix_news@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: m n <iced_phoenix_news@YAHOO.COM>
Subject: SAS/AF: Create Widgets Programmatically
Content-Type: text/plain; charset=us-ascii
I know I can create a new widget object
programmatically using the _new_ statement in SCL, as
dcl spinbox_c myspin = _new_ spinbox_c();
Suppose the above code is in the handler for a push
button, so that when that button is pressed, I want a
new spin box to appear at a certain location in the
frame. Instead, what happens is that I get a hand
icon and a dotted box, asking me to place the spin box
After creating the spinbox object, I've set the
position and size attributes, but that does not
automatically place the object. Thus, my question is:
how do I automatically "drop" the new object without
the user needing to place it him/herself?
The _refresh() and _update() methods have no effect.
Do you Yahoo!?
Check out the new Yahoo! Front Page.