Managing the MSACCESS Status Bar

W

WGHayes

Hi,

The status bar that appears in MSACCESS has a general text area (1st cell) that can be updated by SysCmd(acSysCmdSetStatus) etc.. It also shows CAPS, NUM, INS, SCRL etc.. for whatever your keyboard is current set. Ideally we would like to control this status bar programmatically so that we can add new Panels/Cells to include such things as FORM ID, VERSION and Date/Time etc..

Is this possible?

We have played with adding a MSACCESS Status Bar Control to the footer of each form (SbarCtrl) which works well and looks good however this is a form specific based solution. Using form specific status bars also means that we end up with two status bars visible, one for the form and one for MSACCESS (i.e. we really would like to keep the MSACCESS status bar visible at all times).

Ideally as a form gets focus (activate event) we would like to manage the MSACCESS status bar.

Thanks,
WGH.
 
T

Terry Kreft

If the built in SysCmd methods don't suit your purpose then you're lookingat
a bunch of API calls.

Usin the API you'll need to:-
Find the hwnd ofthe status bar
Add new windows to it using the createwindow api and setparent
Then control the text you put into the windows you've created.


Personally, unless there was some really pressing need I woul just go wih
SysCmd.



--

Terry Kreft


Hi,
The status bar that appears in MSACCESS has a general text area (1st cell)
that can be updated by SysCmd(acSysCmdSetStatus) etc.. It also shows CAPS,
NUM, INS, SCRL etc.. for whatever your keyboard is current set. Ideally we
would like to control this status bar programmatically so that we can add
new Panels/Cells to include such things as FORM ID, VERSION and Date/Time
etc..
Is this possible?
We have played with adding a MSACCESS Status Bar Control to the footer of
each form (SbarCtrl) which works well and looks good however this is a form
specific based solution. Using form specific status bars also means that we
end up with two status bars visible, one for the form and one for MSACCESS
(i.e. we really would like to keep the MSACCESS status bar visible at all
times).
Ideally as a form gets focus (activate event) we would like to manage the
MSACCESS status bar.
Thanks,
WGH.
 
D

david epsom dot com dot au

Hi,
The status bar that appears in MSACCESS has a general text area (1st cell)
that can be
by SysCmd(acSysCmdSetStatus) etc.. It also shows CAPS, NUM, INS, SCRL etc..
for whatever

etc??

FLTR,,,CAPS,,NUM,SCRL

Do you know any others?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top