Home Page link  

display information at html Status Bar

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here

 Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
display information at html Status Bar Leanne 10-17-2006
Posted by Leanne on October 17, 2006, 8:48 pm
Please log in for more thread options
I am working with a com add-in. I created a custom button which allow
user to enter information and then save to database. After it is saved,
I would like to display that information in Status Bar. I have created
the html page to display the data. It works fine when pos is first
loaded.

Now the problem is: how to refresh the data after user enter
information? Is something like fireevent I can use for this?

Another problem, when the form pop up, how to make sure it is always
focused? That is, user can not click pos while the form stays open?

Many thanks

Leanne


Posted by Evan Culver on October 17, 2006, 9:15 pm
Please log in for more thread options
Hi Leanne,

You can have the status page call a refresh function every certain amount of
seconds -- the default RMS status screen does this through
Window.SetInterval(...).

To keep the form focused in c#/vb.net call form.ShowDialog(), in VB try
form.Show vbModal

-
Evan Culver
New West Technologies


>I am working with a com add-in. I created a custom button which allow
> user to enter information and then save to database. After it is saved,
> I would like to display that information in Status Bar. I have created
> the html page to display the data. It works fine when pos is first
> loaded.
>
> Now the problem is: how to refresh the data after user enter
> information? Is something like fireevent I can use for this?
>
> Another problem, when the form pop up, how to make sure it is always
> focused? That is, user can not click pos while the form stays open?
>
> Many thanks
>
> Leanne
>



Posted by Leanne on October 17, 2006, 9:39 pm
Please log in for more thread options
Thanks Evan. I have a temporary variable which I stored at
Sessionclass.Variable(1) and I would like to refresh that as well.
Window.SetInterval() doesn't work for that. any more suggestions?

Leanne


Evan Culver wrote:

> Hi Leanne,
>
> You can have the status page call a refresh function every certain amount of
> seconds -- the default RMS status screen does this through
> Window.SetInterval(...).
>
> To keep the form focused in c#/vb.net call form.ShowDialog(), in VB try
> form.Show vbModal
>
> -
> Evan Culver
> New West Technologies
>
>
> >I am working with a com add-in. I created a custom button which allow
> > user to enter information and then save to database. After it is saved,
> > I would like to display that information in Status Bar. I have created
> > the html page to display the data. It works fine when pos is first
> > loaded.
> >
> > Now the problem is: how to refresh the data after user enter
> > information? Is something like fireevent I can use for this?
> >
> > Another problem, when the form pop up, how to make sure it is always
> > focused? That is, user can not click pos while the form stays open?
> >
> > Many thanks
> >
> > Leanne
> >


Posted by Evan Culver on October 17, 2006, 10:17 pm
Please log in for more thread options
Leanne,

Once you have a QSRules object (see RMS default), you can get/set the
session variable via QSRules.Session.Variable(1).

-
Evan Culver
New West Technologies


Through VBScript in your status page you can get a
> Thanks Evan. I have a temporary variable which I stored at
> Sessionclass.Variable(1) and I would like to refresh that as well.
> Window.SetInterval() doesn't work for that. any more suggestions?
>
> Leanne
>
>
> Evan Culver wrote:
>
>> Hi Leanne,
>>
>> You can have the status page call a refresh function every certain amount
>> of
>> seconds -- the default RMS status screen does this through
>> Window.SetInterval(...).
>>
>> To keep the form focused in c#/vb.net call form.ShowDialog(), in VB try
>> form.Show vbModal
>>
>> -
>> Evan Culver
>> New West Technologies
>>
>>
>> >I am working with a com add-in. I created a custom button which allow
>> > user to enter information and then save to database. After it is saved,
>> > I would like to display that information in Status Bar. I have created
>> > the html page to display the data. It works fine when pos is first
>> > loaded.
>> >
>> > Now the problem is: how to refresh the data after user enter
>> > information? Is something like fireevent I can use for this?
>> >
>> > Another problem, when the form pop up, how to make sure it is always
>> > focused? That is, user can not click pos while the form stays open?
>> >
>> > Many thanks
>> >
>> > Leanne
>> >
>



Posted by Leanne on October 17, 2006, 10:29 pm
Please log in for more thread options
Evan,

Thank you for your reply. I think the window.SetInterval() doesn't work
for me in this case. My code are as following:

var TimerID

function DisplayServiceName()
{
try
{
        var qsRules = qsBridge.RequestQSRules();
var BatchNumber=qsRules.SessionClass.AccountingPost.BatchNumber;

txtServiceName.value =BatchNumber;
// txtServiceName.value="999"
}
catch (err)
{
txtServiceName.value ="empty";
}
}

function doStartup()
{
TimerID=window.setInterval("DisplayServiceName()", 500);
}

...

<body onload="doStartup()" >
...

When program started, txtServiceName always = "empty". Even when I try
to set it to "999", it still doesn't work.

Can you please give more ideas?

Thanks
Leanne



Evan Culver wrote:

> Leanne,
>
> Once you have a QSRules object (see RMS default), you can get/set the
> session variable via QSRules.Session.Variable(1).
>
> -
> Evan Culver
> New West Technologies
>
>
> Through VBScript in your status page you can get a
> > Thanks Evan. I have a temporary variable which I stored at
> > Sessionclass.Variable(1) and I would like to refresh that as well.
> > Window.SetInterval() doesn't work for that. any more suggestions?
> >
> > Leanne
> >
> >
> > Evan Culver wrote:
> >
> >> Hi Leanne,
> >>
> >> You can have the status page call a refresh function every certain amount
> >> of
> >> seconds -- the default RMS status screen does this through
> >> Window.SetInterval(...).
> >>
> >> To keep the form focused in c#/vb.net call form.ShowDialog(), in VB try
> >> form.Show vbModal
> >>
> >> -
> >> Evan Culver
> >> New West Technologies
> >>
> >>
> >> >I am working with a com add-in. I created a custom button which allow
> >> > user to enter information and then save to database. After it is saved,
> >> > I would like to display that information in Status Bar. I have created
> >> > the html page to display the data. It works fine when pos is first
> >> > loaded.
> >> >
> >> > Now the problem is: how to refresh the data after user enter
> >> > information? Is something like fireevent I can use for this?
> >> >
> >> > Another problem, when the form pop up, how to make sure it is always
> >> > focused? That is, user can not click pos while the form stays open?
> >> >
> >> > Many thanks
> >> >
> >> > Leanne
> >> >
> >


Similar ThreadsPosted
HTML Status Bar December 1, 2005, 2:30 pm
HTML Status Bar on RMS POS December 9, 2005, 5:28 pm
HTML STATUS BAR September 25, 2006, 9:50 am
HTML Status Bar February 10, 2007, 4:20 pm
html status screen February 3, 2006, 7:30 am
html status screen February 3, 2006, 7:45 am
Add item using HTML Status Bar March 20, 2008, 5:25 pm
HTML Status Window March 12, 2007, 9:36 am
Privelevel change in status.html November 17, 2005, 4:51 pm
HTML Status conditional formatting January 17, 2007, 12:32 pm

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap