On 2007-03-13, at 01:25, Brian Heibert wrote:

> I am using the 2DDraw example by OnClick.Software
>
>    // Bring up Color Selector Window
>    Dim b as Boolean

      Dim fillColor as color

>    window1.canvas1.graphics.fillColor=rgb(0,0,0)
>    b=SelectColor(fillColor,"Select a Color")

  if b = true then
>    // Set Line/Fill Color of Canvas1 to that of selected NEW color
>    window1.Canvas1.graphics.forecolor=fillcolor
>    // Set color to Canvas2 to that of selected NEW color
>    window1.Canvas1.graphics.forecolor=fillcolor
>    window1.Canvas1.graphics.fillrect 0, 0, 30, 20
>    window1.Canvas1.refresh

else
// the user don't select a color ...
end if


>
> but in this code
> window1.canvas1.graphics.fillColor=rgb(0,0,0)
> it says method or property does not exist

fillcolor variable was not declared..

>
>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to