I wanted to grab the contents of a HBox as  picture (it contains other 
controls), put the code under a button:

Public Sub Button1_Click()
  Dim pic As  Picture
  pic = HBox1.Grab()

End

This gives an error message 'wanted picture, got void instead'.

Any one got any ideas?

Thanks in anticipation.

Richard

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to