Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue May 22, 2018 10:25 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to create a design time property to a class?
PostPosted: Tue Apr 21, 2009 5:51 pm 
Offline

Joined: Tue Apr 21, 2009 5:44 pm
Posts: 1
Hello!

I created a SubClass from a Canvas class.
I added a computed property, called AutoSize as boolean.

It's Set method is:

if value = true then
Width = BackDrop.Width
Height = BackDrop.Height
end if


It works only at runtime, but I want it to work at design time too.
When I check AutoSize property, it doesn't call the Set method.
Why?
How can I do it to work at design time?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group