[Gambas-user] Image to Picture

Fabien Bodard gambas.fr at ...626...
Mon Dec 27 12:15:19 CET 2010


2010/12/27 Shane <shanep at ...2481...>:
> On 27/12/10 22:01, Fabien Bodard wrote:
>> 2010/12/27 Shane<shanep at ...2481...>:
>>> On 27/12/10 21:55, Shane wrote:
>>>> On 27/12/10 21:48, Fabien Bodard wrote:
>>>>> 2010/12/27 Shane<shanep at ...2481...>:
>>>>>> On 27/12/10 21:36, Fabien Bodard wrote:
>>>>>>> try to add
>>>>>>>
>>>>>>>
>>>>>>> Picturebox.Picture.Fill(gb.Transparent)
>>>>>>>
>>>>>>> after setting the new picture
>>>>>>>
>>>>>> Tried This
>>>>>>
>>>>>> PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h)
>>>>>>
>>>>>> Draw.Begin(PictureBox1.Picture)
>>>>>> Draw.Image(myimage,(PictureBox1.w-myimage.w)/2,(PictureBox1.h-myimage.w)/2)
>>>>>> Draw.End
>>>>>>
>>>>>> PictureBox1.Picture.Fill(Color.Transparent)
>>>>>>
>>>>>> Their is no gb.transparent
>>>>> no gb.transparent
>>>>> but color.transparent
>>>>> http://gambasdoc.org/help/comp/gb.qt/color/transparent
>>>>>> ------------------------------------------------------------------------------
>>>>>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>>>>>> to consolidate database storage, standardize their database environment, and,
>>>>>> should the need arise, upgrade to a full multi-node Oracle RAC database
>>>>>> without downtime or disruption
>>>>>> http://p.sf.net/sfu/oracle-sfdevnl
>>>>>> _______________________________________________
>>>>>> Gambas-user mailing list
>>>>>> Gambas-user at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>>
>>>> Sorry Fabian Should Have Said That The Result Was the Same
>>>>
>>> if i just set PictureBox1.Picture = myimage.Picture the Image is Displayed
>>> but in the top left corner
>> and with the alignment ?
>>
> Yep That Did It Thanks Very Much Fabian guess we don't need to to it the
> way I used to with gambas 2
> did gambas 2 picturebox have an alignment Property?
gambas3 ... yes
>
>>>> ------------------------------------------------------------------------------
>>>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>>>> to consolidate database storage, standardize their database environment, and,
>>>> should the need arise, upgrade to a full multi-node Oracle RAC database
>>>> without downtime or disruption
>>>> http://p.sf.net/sfu/oracle-sfdevnl
>>>> _______________________________________________
>>>> Gambas-user mailing list
>>>> Gambas-user at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>> ------------------------------------------------------------------------------
>>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>>> to consolidate database storage, standardize their database environment, and,
>>> should the need arise, upgrade to a full multi-node Oracle RAC database
>>> without downtime or disruption
>>> http://p.sf.net/sfu/oracle-sfdevnl
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list