Real Software Forums
http://forums.realsoftware.com/

Control Picture
http://forums.realsoftware.com/viewtopic.php?f=5&t=41331
Page 1 of 1

Author:  Bert Rozenberg [ Sun Nov 06, 2011 3:12 pm ]
Post subject:  Control Picture

Hi,

I've written a control (like a serial control) using XCode.
Everything works great. The controls show up in the toolbox with the graphic I added.
However, when I drag the control to a form in the IDE the control is completely invisible.
To avoid this I created a Draw-function which draws a black square, but I really want it to show the same icon as in the toolbox.
Is there anybody who knows how to do that?

Bert

Author:  npalardy [ Sun Nov 06, 2011 6:11 pm ]
Post subject:  Re: Control Picture

Have you looked at the examples in the plugin SDK ?
There's a complete control example in there

Author:  Bert Rozenberg [ Tue Nov 08, 2011 3:11 pm ]
Post subject:  Re: Control Picture

npalardy wrote:
Have you looked at the examples in the plugin SDK ?
There's a complete control example in there

Maybe you have other examples then I have.
Can you tell me which example draws the icon of the control (as shown in the toolbox) when you drag the control to a form?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/