Re: widget crashing

From: Date: Sun, 23 Dec 2001 04:57:57 +0000
Subject: Re: widget crashing
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-908@lists.php.net to get a copy of this message
I don't know if I was clear, but I'll re-explain. I am running an SQL statement, and changing the database. I want the information to update in the clist. Hope this clears up what I was asking about. ----- Original Message ----- From: "Steph" <Steph.Fox@btinternet.com> To: "Anson Rinesmith" <anson@lddcorp.com>; <php-gtk-general@lists.php.net> Sent: Saturday, December 22, 2001 7:00 PM Subject: Re: [PHP-GTK] widget crashing 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? ---------------------------------------------------------------------------- ---- > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.gtk.general (#908) next »