Re: FTCustom Object Question
- From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Fri, 30 May 2008 10:56:46 -0500
Bob Keeney wrote:
I'm beginning an application that is going to make heavy use of the
FTCustom object and I have a few questions. My custom objects are
going to be text and will handle some attributes that FTC doesn't
(currently) handle. So ideally I'd like the selection of any
combination of text and objects to pass the text attributes into the
FTCustom object so that it can update itself properly (or at least
look approximately like the user wants). Does that make sense?
Is this possible in the current configuration? If so, how would I
go about passing that data into the FTCustom object?
If not currently possible, it's not a big deal and I can explain it
away to the client.
I don't quite understand what you mean by, "I'd like the selection
of any combination of text and objects to pass the text
attributes...".
My guess from your description is that the user selects a range of
text and custom objects and then they invoke functionality to
change an attribute on the selection and you want this to be
propagated to the custom objects? Am I close?
If what I said matches what you are thinking, you can get the
selection range and search the selection for custom objects of the
type you are looking for and call a method on that object to
update its data and then mark the paragraph as dirty and then
call update.
FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
- Follow-Ups:
- Re: FTCustom Object Question
- From: Bob Keeney
- References:
- FTCustom Object Question
- From: Bob Keeney
Other related posts:
- » FTCustom Object Question
- » Re: FTCustom Object Question
- » Re: FTCustom Object Question
- » Re: FTCustom Object Question
Is this possible in the current configuration? If so, how would I go about passing that data into the FTCustom object?
If not currently possible, it's not a big deal and I can explain it away to the client.
- Re: FTCustom Object Question
- From: Bob Keeney
- FTCustom Object Question
- From: Bob Keeney