Home > Archive > Clarion > March 2004 > How to refresh a drop down listbox?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to refresh a drop down listbox?
|
|
| JayMan 2004-03-26, 11:00 pm |
| Hello,
I have a problem. I have a default record update form that contains a
customer drop down listbox. Beside that i have a button to create a new
customers. When i add a new customer, it will not show in drop down lisbox.
How do i refresh the drop down listbox right that moment when i have added a
new customer. It will be there when i close the window and open it again.
But how to do the refreshing?.
Thanks, JayMan
| |
| Phil Lancaster 2004-03-26, 11:00 pm |
| Find out your list box's object name. Right click, select Properties,
Actions tab, Classes tab, Object Name. It might be something like FDLB_8.
Then use FDLB_8.ResetQueue(True).
I think if you just use ThisWindow.Reset(True) it should also force a
refresh of the queue. Theoretically takes a little longer but probably not
so you'd notice.
"JayMan" <jayman@jippii.fi> wrote in message
news:a29a19ea.0402241220.60ed10e@posting.google.com...
> Hello,
> I have a problem. I have a default record update form that contains a
> customer drop down listbox. Beside that i have a button to create a new
> customers. When i add a new customer, it will not show in drop down
lisbox.
> How do i refresh the drop down listbox right that moment when i have added
a
> new customer. It will be there when i close the window and open it again.
> But how to do the refreshing?.
>
> Thanks, JayMan
| |
| JayMan 2004-03-26, 11:00 pm |
| "Phil Lancaster" <phil_lancaster@hotmail.com> wrote in message news:<4lP_b.74825$Wa.48841@news-server.bigpond.net.au>...[color=darkred]
> Find out your list box's object name. Right click, select Properties,
> Actions tab, Classes tab, Object Name. It might be something like FDLB_8.
> Then use FDLB_8.ResetQueue(True).
>
> I think if you just use ThisWindow.Reset(True) it should also force a
> refresh of the queue. Theoretically takes a little longer but probably not
> so you'd notice.
>
> "JayMan" <jayman@jippii.fi> wrote in message
> news:a29a19ea.0402241220.60ed10e@posting.google.com...
> lisbox.
> a
Thank you Phil very much, first hint seems to do the job i needed
| |
| Phil Lancaster 2004-03-26, 11:00 pm |
| Glad to help. Are you aware there is a much bigger ng comp.lang.clarion at
news.softvelocity.com?
"JayMan" <jayman@jippii.fi> wrote in message
news:a29a19ea.0402250331.2d0c95ba@posting.google.com...
> "Phil Lancaster" <phil_lancaster@hotmail.com> wrote in message
news:<4lP_b.74825$Wa.48841@news-server.bigpond.net.au>...
FDLB_8.[color=darkred]
not[color=darkred]
new[color=darkred]
added[color=darkred]
again.[color=darkred]
>
> Thank you Phil very much, first hint seems to do the job i needed
| |
| spuds 2004-03-26, 11:01 pm |
| How does one become a member of said NG? I got Auth errors when I tried.
I have C6PE.
thanks,
Bob Roos
On Wed, 25 Feb 2004 19:52:32 GMT, Phil Lancaster
<phil_lancaster@hotmail.com> wrote:
> Glad to help. Are you aware there is a much bigger ng comp.lang.clarion
> at
> news.softvelocity.com?
>
> "JayMan" <jayman@jippii.fi> wrote in message
| |
| Phil Lancaster 2004-03-26, 11:01 pm |
| I use the Outlook Newsreader, so this may not be applicable to you, but hope
it helps anyway.
At the initial Outlook Newsreader screen, select Set up a Newsgroups
account. Enter the information requested then for News Server, enter
news.softvelocity,com. This will create your account.
Then select the new account and click on Newsgroups. Subscribe to
comp.lang.clarion and any others you may be interested in.
Sorry about delay in replying. I'm in Australia so our time zones may be
different. It's Saturday evening here.
"spuds" <spudsnews@wybatap.com> wrote in message
news:opr32f3ypx7tu0pk@news.wybatap.com...
> How does one become a member of said NG? I got Auth errors when I tried.
> I have C6PE.
>
> thanks,
>
> Bob Roos
>
> On Wed, 25 Feb 2004 19:52:32 GMT, Phil Lancaster
> <phil_lancaster@hotmail.com> wrote:
>
>
| |
| spuds 2004-03-26, 11:01 pm |
| Hi Phil,
the times are Way different (about 14 hours). I had it all set up, but I
was getting Authentication errors.
Thanks for confirming that no extra authorization was required. I
re-examined the setting and found that I had checked an authorization
box. When unchecked all ran OK. Thanks again. (Soyes it did help even
though I am not running Outlook)
Bob
On Sat, 28 Feb 2004 07:58:54 GMT, Phil Lancaster
<phil_lancaster@hotmail.com> wrote:
> I use the Outlook Newsreader, so this may not be applicable to you, but
> hope
> it helps anyway.
>
> At the initial Outlook Newsreader screen, select Set up a Newsgroups
> account. Enter the information requested then for News Server, enter
> news.softvelocity,com. This will create your account.
>
> Then select the new account and click on Newsgroups. Subscribe to
> comp.lang.clarion and any others you may be interested in.
>
> Sorry about delay in replying. I'm in Australia so our time zones may be
> different. It's Saturday evening here.
>
> "spuds" <spudsnews@wybatap.com> wrote in message
> news:opr32f3ypx7tu0pk@news.wybatap.com...
>
>
|
|
|
|
|