Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: barney guna
  Where is barney guna?
 BANALORE
 India
 barney guna
 To: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 Tags
Subject: RE: how to clear a form or combox texbox
Thread ID: 394346 Message ID: 395676 # Views: 29 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Friday, January 17, 2014 5:28:36 AM         
   


> >
> >
> >
> > Dear Sir,
> > Sorry about that...
> > Actually I have a form in which I am entering some data using combo boxes and textboxes, after I click save I want to enter a new set of data,
> > for which I am going to the first combobox on top of the form, but all the data of the first record is still seen. I want to clear the data
> > as soom as setfocus to the first(top) combo box. Hope its clear now a bit more
> > Regs
> > Barney
>
>
>
> I would not do that if I were you, clearing other comboboxes and textboxes when first combobox got focus. There may be cases when a user, after entering all the needed data, saw the need to change the value of that first combobox. Immediately after clicking that first combobox (before saving) in an attempt to change its value, everything will be blanked again. That will cause the user a consternation and frustration.
>
> Normally, I create a button for New, Edit, Delete, Save, and Cancel. When New button is clicked, that is the time I clear the textboxes and comboboxes of the values. Or if you are doing a looping sort of approach where there is only Save or Abort button, then when you click Save or Abort, clear those objects of values for next record encoding.
>
> When we develop an app, always think about how it will affect the users. How it can be more user-friendly for them.
>
>
>
>
>
>
> https://vfpx.codeplex.com/releases/view/99045
> http://sandstorm36.blogspot.com


Good thought !! Thank you !!

ENTIRE THREAD

how to clear a form or combox texbox Posted by barney guna @ 1/2/2014 9:45:49 AM
RE: how to clear a form or combox texbox Posted by David Mustakim @ 1/2/2014 9:48:57 AM
RE: how to clear a form or combox texbox Posted by barney guna @ 1/2/2014 12:06:23 PM
RE: how to clear a form or combox texbox Posted by David Mustakim @ 1/2/2014 12:15:45 PM
RE: how to clear a form or combox texbox Posted by Vilhelm-Ion Praisach @ 1/2/2014 2:49:15 PM
RE: how to clear a form or combox texbox Posted by barney guna @ 1/17/2014 5:27:15 AM
RE: how to clear a form or combox texbox Posted by Jun Tangunan @ 1/3/2014 12:13:40 AM
RE: how to clear a form or combox texbox Posted by David Mustakim @ 1/3/2014 12:28:20 AM
RE: how to clear a form or combox texbox Posted by Tony Vignone @ 1/4/2014 5:53:56 PM
RE: how to clear a form or combox texbox Posted by barney guna @ 1/17/2014 5:28:36 AM
RE: how to clear a form or combox texbox Posted by jacob lefore @ 1/2/2014 4:15:30 PM
RE: how to clear a form or combox texbox Posted by Cetin Basoz @ 1/2/2014 4:51:25 PM
RE: how to clear a form or combox texbox Posted by Koen Piller @ 1/2/2014 5:03:44 PM
RE: how to clear a form or combox texbox Posted by Cetin Basoz @ 1/2/2014 6:31:46 PM
RE: how to clear a form or combox texbox Posted by Tony Vignone @ 1/4/2014 6:06:20 PM
RE: how to clear a form or combox texbox Posted by barney guna @ 1/17/2014 5:31:50 AM
RE: how to clear a form or combox texbox Posted by Cetin Basoz @ 1/17/2014 2:03:13 PM