Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Apr 26, 2017 10:35 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Control Picture
PostPosted: Sun Nov 06, 2011 3:12 pm 
Offline

Joined: Sat Nov 03, 2007 9:04 am
Posts: 5
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


Top
 Profile  
 
 Post subject: Re: Control Picture
PostPosted: Sun Nov 06, 2011 6:11 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
Have you looked at the examples in the plugin SDK ?
There's a complete control example in there

_________________
Norman Palardy (Real Software)


Top
 Profile  
 
 Post subject: Re: Control Picture
PostPosted: Tue Nov 08, 2011 3:11 pm 
Offline

Joined: Sat Nov 03, 2007 9:04 am
Posts: 5
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group