Path: news.daimi.aau.dk!not-for-mail From: Lennert Sloth Newsgroups: comp.lang.beta Subject: Re: beta guienv questions Date: Tue, 14 Oct 1997 12:21:47 +0200 Organization: Aarhus University Lines: 31 Message-ID: <344347BB.6A4E@daimi.aau.dk> References: <3441D216.37D1@geocities.com> Reply-To: les@daimi.aau.dk NNTP-Posting-Host: royal.daimi.aau.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (WinNT; I) Xref: news.daimi.aau.dk comp.lang.beta:11273 ger wrote: > > Hello everyone, > > I've some questions about BETA's guienv: > > 1) The following source was intended to generate a window with randomly > colored, random lines. Unfortunately it does only draw random lines, but > all have the same > (default) color. Why? I thought the > (r,g,b)->TheLines[i].pen.foregroundcolor > statement (marked with *** ) would do it. > > [---source follows ---] > > [stuff deleted] If you are running on Windows NT and using BETA release 4.0.3, a workaround for this is to set pen.stipple to NONE, e.g. .... NONE -> TheLines[i].pen.stipple; ..... NOTE, this will only work on with release 4.0.3 on the Windows platform. > > 2) I can't get graphics/drawSpot to work (it does not draw anything). > Can someone give me a little example, perhaps just change the above > source so that it draws randomly colored points instead of lines? This is a bug i release 4.0.3 on the Windows platform. On the Windows platform you have to use drawLine as a workaround.