🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10545

JdbTextField problem

#10545
From: Alex Tavera V.
Date: Mon, 06 Sep 1999 00:00
19 lines
1101 bytes
Hi,
I have an Internal frame, a "save changes" Jbutton, a jdbTextfield related
to a dataset A and it's property postOnFocusLost enabled.

When I hit the Jbutton the textField lost the focus and the changes are
saved to the database.

I want to do the same hitting the X button of the internalFrame (close
internalFrame) but it doesn't work, because the textField don't loose the
focus in this event. I can't even get the text of the TextField being
edited.

I try to request the focus on another component, but it doesn't work.

Has someone an idea about how to solve this?

Thanks.

Alex
Technical Details
Message-ID: <7r1eo0$rfv1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,800ca6b2fec7d6b,start
X-Google-Attributes: gid111d45,public
From: "Alex Tavera V." <taveraa@ucbcba.edu.bo>
Subject: JdbTextField problem
Date: 1999/09/06
Message-ID: <7r1eo0$rfv1@forums.borland.com>
X-Deja-AN: 521863691
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing