Re: [FTC b15 pv12] Windows Delete of FTCustom Acting Differently Than Mac


On Mar 17, 2008, at 9:30 AM, Brendan Murphy wrote:

Bob Keeney wrote:
I've created a subclass of FTCustom called FTFile (alias to a file, displays an icon) and it works great on the Mac. I can delete FTFile objects with no problems. However, the same application under Windows gives me an OutofBoundsExeption in FTParagraph.ComposeLines in this bit:

[snip]

Any ideas on where to hunt this bug down?


The first question I would ask is how are you adding the FTFile
objects to the control?


Sorry for the delay. I was at Real World last week. BTW, FTC came up a LOT in conversations (all good).

pv 14 has the same issue I had before, but ONLY on the Windows side.

I noted a side effect that, again, is only present in the Windows build. I use AddNewParagraph and then AddObject to add it to the document during a drag and drop. If I move the cursor to before the custom object and then paste text, it pastes it AFTER the custom object.

Another note that if I have ANY text in the control it deletes the object with no issues.

If you want I can provide additional information off-list.

Bob Keeney
BKeeney Software Inc.


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.


Other related posts: