Hello,
I have created this user object inherited from u_base in pfemail.pbl
which contains a user object that does my toolbar
and it contains a rich text control
Here is the user object that does the toolbar
When I use the user object that contains the toolbar and the rich text control on the window
My purpose is to remove the legacy edit box (old) and replace with my new object.
The new object is making the window crash even when I give it a name that no objects are looking for and also the new object is not visible.
My alternative solution was to make the user object that contains the buttons and rich text edit box not use a sub user object for the toolbar
That Works!
Any ideas why my first idea did not work?
Not quite.
I have a legacy html editor that I am replacing by a custom object that includes a toolbar with buttons and rich text control
Yes, I had backup the old control and made it invisible in order to help during the refactoring to the new custom object.
The issue I had with the new object was the fact I made the toolbar as one object, so on my new custom object I had a custom toolbar object and the rich text control.
The toolbar object contained some buttons to do actions on the text within the rich edit text box.
It appeared that having a child custom object on a custom object was causing an issue
So my alternative solution was to create the custom object that contained a rectangle with buttons to do actions on the text
within the rich text editor.
This was the boolbar was not a sub custom object.
That the did the trick
I will try to figure out later why the sub object within an object was causing the issue
Hopefully I was clearer.
I will to reproduce the issue on my workstation because maybe it was something within the client's framework.
To be continued....
Sorry I misunderstood, I cannot see why you cannot have a custom object on another custom object, I'm sure that we have done that many times. Let me know how you get on and if I can help I'll try.
Cheers
David