A
--== Alain ==--
Hi,
I would like to have a property of image type.
i've seen on official .NET component that several controls have such
properties.
My component is built under VC++.NET and not under C#, but as codes are
similar and i did not get any help from relative forum, i'm asking here.
So, i do not have any problem with my component except 1 thing.
When an image is already allocated, i can not delete it or destroy the
bundling with the property by replacing "System.Drawing.Bitmap" with
"(none)".
the (none) appears when i directly edit and erase everything (all
characters) from the image property editor.
in my component it's impossible...
i was thinking to convert my type image to a string (to be able to edit
it in property editor) and after to convert it back, but i would be very
surprised if this is the solution.
please, could you advise me ?
thanks a lot,
Alain
I would like to have a property of image type.
i've seen on official .NET component that several controls have such
properties.
My component is built under VC++.NET and not under C#, but as codes are
similar and i did not get any help from relative forum, i'm asking here.
So, i do not have any problem with my component except 1 thing.
When an image is already allocated, i can not delete it or destroy the
bundling with the property by replacing "System.Drawing.Bitmap" with
"(none)".
the (none) appears when i directly edit and erase everything (all
characters) from the image property editor.
in my component it's impossible...
i was thinking to convert my type image to a string (to be able to edit
it in property editor) and after to convert it back, but i would be very
surprised if this is the solution.
please, could you advise me ?
thanks a lot,
Alain