On Tue, Jun 17, 2003 at 11:34:11AM +0300, Olcay Korol wrote:
> Hi all,
> I have a problem with focus mechanism of Picogui 0.45 field widgets.
> 
> I have a field that has some text (e.g. a username field). After some checking, when 
> i want to 
> give the focus back to the field (when, for example, the username entered by the 
> user is invalid), 
> i use the following piece of code:
> 
> {
>   ...
>   pgFocus(MyField);
>   pgUpdate();
> }
> 
> When i do this, there are two options:
> *If the focus has been on a different field than MyField, there is no problem. 
> Focus will be on MyField and its text is visible.
> *If the focus was already on MyField, focus is on MyField again. However, its text 
> is lost! Cursor is at
> the end of the text, but there is no readable text. Then if i use the arrow keys, 
> text on the field widget 
> becomes visible.
> 
> Any help is appreciated.

Sorry for the late reply.

This isn't actually a focus problem at all, it's a redrawing bug that's
been around for a long time. This is the same bug that can cause the
terminal widget to be mostly blank after closing a dialog box, for
example.

--Micah

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to