[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to use PROP_TYPE_BUTTON?



(Lars pinged me; I'm having finger-keyboard connectivity problems these
days -- not medical, just that I can't move keys 520km away from my
fingertips. Oh, and time availability: if someone knows how to stretch 24
hours into 36 without bouncing into Einstein's theory issues, I'm all ears)

Le Fri, Oct 15, 2004, à 01:14:06AM +1000, Le phan Anh a écrit:
> Hi all,
> 
> Have anyone got experience using this type when creating a PropDialog? I 
> am using it to open up a new window ( I do my own things on that window 
> and update the Dia object later on)
> 
> The hard thing is that just a copy of Dia object is passed to the event 
> handler of PROP_TYPE_BUTTON, so the question is how to update the 
> original one correctly

You should not update the original one; if you did, you'd slip under the
undo mechanism (which, for stdprop objects, works using lists of property 
values).

If your object's state can be completely described using a list of property
values (which, as a stdprop object, should be the case), then it should not
matter that the specific object instance changed. What are you trying to do
exactly? 

	-- Cyrille

-- 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK