Re: widget crashing
| From: | Steph | Date: | Sun, 23 Dec 2001 01:00:57 +0000 |
| Subject: | Re: widget crashing | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-907@lists.php.net to get a copy of this message | ||
Anson, hi -
I don't understand how you're doing a remove/add to the clist without changing the data in
the database ... !
Got it running here fine with an elderly (half-deprecated) script. You definitely don't need
to rebuild the window in order to refresh your database..
Script + dump attached, if anyone else wants a copy mail me 'cos I know it won't make it
onto the list. It's not brilliant but it suffices as a demo.. I hope ...
Have a good one,
Steph
----- Original Message -----
From: "Anson Rinesmith" <anson@lddcorp.com>
To: <php-gtk-general@lists.php.net>
Sent: Friday, December 21, 2001 10:36 PM
Subject: [PHP-GTK] widget crashing
No rush, I know everyone is having a happy holidays.
I have a window, with boxes, frames, buttons, clists, and entry fields.
The clist, is created when the shortly after the window is created.
I can then select a row from the list and click my delete button or
I can use an Entry, and put text there, and click my Add button.
I was looking for a way to update this, without just doing a remove/add
to the clist. I want to make sure the data changed in the database.
I had an idea that I could destroy the window, run the sql
and run the function to re-create the window.
This works pretty well, but then it seems to randomly crash the php.exe
Any ideas why this would happen, or a better way to refresh the information?