the file uiwd.ijs in addons game/minesweeper cnotains example for how to dispaly a jpg inside an isigraph. Or you may just use an ownerdraw button to display a picture. please study the controls demos in J6, and pay attention to the widget that display the big "J" icon.
Чтв, 02 Фев 2012, Linda Alvord писал(а): > Is there a way to accomplish what was possible using isipicture? Much of the > "legacy" work that I abandoned happened when I couldn't get things to work in > J6 . I have been having trouble finding a simple example that works in J6 . > More later, but thanks so far. > > Linda > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of bill lam > Sent: Thursday, February 02, 2012 10:17 AM > To: programming@jsoftware.com > Subject: Re: [Jprogramming] Using wd > > isipicture had been decommited for several years (may be a decade). If wd > fail it raise a domain error. Error can be queried using. > > wd'qer' > > If your scripts ran in J6 but failed in J7, then there may be bugs in gtkwd, > please provide more detail or a simple script. Note that windows features > such as oleautomation, ocx and emf will not be implemented. > > Чтв, 02 Фев 2012, Linda Alvord писал(а): > > 2 more concerns. > > > > I have tried several different scripts in J7 and get something like this > > problem: > > > > 14 will 20 > > |domain error: wd1 > > | 13!:8[3 > > > > If I search each script there is no use of wd1, so it must be in what I load > > using: require 'gui/gtkwd' > > > > Also in J7: What Find finds is very hard to see among all those pale > > colors. Black worked much better in the old days. The joys of J4! I use it > > to upgrade all those things that I never recovered that contain x. and y. > > > > > > Linda > > -----Original Message----- > > From: programming-boun...@jsoftware.com > > [mailto:programming-boun...@jsoftware.com] On Behalf Of Linda Alvord > > Sent: Thursday, February 02, 2012 5:05 AM > > To: 'Programming forum' > > Subject: [Jprogramming] Using wd > > > > This worked in J406 > > > > > > > > load 'c:\j406\willie\readwillie 2.ijs' > > > > |domain error: wd > > > > | wd picture=:'xywh ',(":w,h,((-2*w)+w*na),h*nd),';cc board > > isipicture' > > > > > > > > I could not correct it in J602 Since it is my favorite script, I'm still > > using J406 ! > > > > > > > > It would be great to be able to insert a picture into that space. It has > > been a bother to me for a long time. > > > > > > > > Thanks for any help you can give. > > > > > > > > Linda > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm