[lazarus] TNotebook error
Curtis White
osiriz at teleport.com
Thu Sep 23 23:45:53 EDT 1999
OK, I will fix the example so it is correct and see if things start showing up
again.
I will also take a look at main.pp to see if it is correct.
Curtis
On 23-Sep-99 Shane Miller wrote:
> Well, I figured out that problem, but it still doesn't display the notebook.
> Can you rewrite your exampl,e in the examples directory. It appears to me
> that all the relevent code is commented out and that causes the example to
> crash.
>
> I mujst be mmissing something yet because it's still not appearing. Look at
> my MIAN.PP code, in the FormCreate and tell me if I am using the notebook
> correctly.
>
> Shane
>
>
>>>> Curtis White <osiriz at teleport.com> 09/23/99 12:03AM >>>
> Oh, that is excellent that you figured out that error. I know it has been
> getting that error for a while now, but I hadn't had time to track it down.
> So
> it sounds like you got it fixed. Thank you.
>
> I really appreciate your help with looking into these problems with
> notebook. It is a huge help to me.
>
>
> Curtis
>
> On 22-Sep-99 Shane Miller wrote:
>> Actually the
>>
>> gtk_notebook_insert_page(blah, blah, blah)
>>
>> was complaining that the
>> widget->parent
>> was NOT nil. The procedure evidiently calls gtk_widget_set_parent inside
>> the
>> gtk_notebook_insert_page. The gtk_widget_set_parent claims that the
>> widget->parent was NOT nil and it should be so I set them to nil and I don't
>> get the gtk error (in gtkobject.inc Procedure AddNBPage). However, I still
>> don't see the notebook. I'm not sure what the issue is yet.
>>
>> I'll update CVS with what I did so far.
>>
>> Shane
>>
>>
>>
>>>>> "Shane Miller" <SMiller1 at stvgb.org> 09/22/99 02:25PM >>>
>> Right now it looks like during the TNBPages.Insert, it sends a semdmessage3
>> and in the LM_ADDPAGE, it is complaining that the parent widget = nil.
>>
>> I'm still looking into it though.
>>
>> Shane
>>
>>
>> _________________________________________________________________
>> To unsubscribe: mail lazarus-request at miraclec.com with
>> "unsubscribe" as the Subject
>> archives at http://www.miraclec.com/list_archives/lazarus
>>
>> _________________________________________________________________
>> To unsubscribe: mail lazarus-request at miraclec.com with
>> "unsubscribe" as the Subject
>> archives at http://www.miraclec.com/list_archives/lazarus
>
> ----------------------------------
> Curtis White
> Curtis White <osiriz at teleport.com>
> http://www.teleport.com/~osiriz/
> ----------------------------------
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
----------------------------------
Curtis White
Curtis White <osiriz at teleport.com>
http://www.teleport.com/~osiriz/
----------------------------------
More information about the Lazarus
mailing list