to fill a canvas

Jules Jacquot jules.jacquot at wanadoo.fr
Sun May 15 07:32:40 CDT 2005


Le 14 mai 05 à 18:55, Charles Yeomans a écrit :

>
> On May 14, 2005, at 12:36 PM, Jules Jacquot wrote:
>
>
>> hi, ruslan
>>
>> V4RB_2
>>
>> how to fill a canvas with data text ?
>>
>> any example ?
>>
>
> In general, you simply use Graphics.DrawString to draw text in a  
> Canvas.  The text can certainly come from a VCursor.

right.
I'm sorry seem to be a newbie
i haven't problem with REaldatabase
simply i don't know to translate it  in Valentina
to create what before Graphics.Drawstring ?

here is my code

(window "prevue" with canvas1)

dim BbD(-1),Bb as picture
dim g as graphics

       g=Prevue.canvas1.Graphics       //        <- exception
       Bb=NewPicture(580,800,16)
       g=Bb.Graphics

g.drawstring ...............

write what instead canvas1.graphics ?

Thanks Charles

jules


>
> --------------
> Charles Yeomans
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>

Où passeras-tu l'Eternité ?




More information about the Valentina mailing list