Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

txtBox = Me.ActiveControl.StatusBarText ?? 1

Status
Not open for further replies.

jerseyboy

Technical User
Mar 7, 2002
127
US
I have tried many methods to increase the direction set that the users see. The small status bar text tucked neatly in the lower right corner is so out of site, that many users don't even know it exists unless you point it out.

In the past I have included [Event Procedures] in the Got_Focus and Lost_Focus events that change an unbound text box (or lable caption) to the status bar text. I even developed a module to try to make it universal...

I have also put a timer on the form that updates a text box or lable using a statement similar to the Subject line above.

Although both methods work they each have problems:
The first is time intensive and leaves a lot of room for misinformation if not carried out right, the second makes the screen flash and looks unprofessional.

To the point: IS THERE A SIMPLE WAY THAT I HAVE OVERLOOKED?

I am not desperate for an answer, but sure would be greatful for an approach that I haven't considered.

Thanks for your time in considering my question!




JerseyBoy
Remember: self-praise is no recommendation
 
Hi JerseyBoy.

One technique I use is to use the form caption - that tends to be a bit more noticeable.

Use the form property on-current and flag any message there. Using it with the timer could make it good and obvious - and you could probably get away with making it flash as well.

HTH

Chris
*************************************
OK, I'm stoopid. But I'm good at it!
*************************************
 
Chris,

First, thanks for your response. Let me clarify my intent a little further...

I usually place in the forms header section an unbound control or a label and manipulate the value of that control to display the status bar text.

Your idea is good, but I already use the Form.Caption to display information about the record. Normally I use it for something like this: Contact Information for UserName
or Contact Information for: [New Record]

I AM able to update the unbound control in my header, I just want to see if I can use a more efficient method to do it. The flashing is result of the timer function firing and is a result that I am trying to avoid.

Thanks again for the help, hope this makes it more clear what my goal is... JerseyBoy
Remember: self-praise is no recommendation
 
I see where you're going.

Unfortunately, a bit deeper than my limited skills though.

I'll keep watching as well, thoough, because it's an intriguing thread idea.

Chris
*************************************
OK, I'm stoopid. But I'm good at it!
*************************************
 
How about this,

For occasions when the comment in your text box can be permanent then have the code that sets the comment box text also set the form timer to zero ( disabling it )

Then, when an event occurs that causes the comment box to change to text that you only want to be temporary, have the code set the timer to the required value.
When then timer fires - it should change the comment text and disable itself by setting test to zero again.

The screen 'flash' assocated with the timer will apprear as part to the comment box changing content and will be much less obtrusive.


does-that-'elp ? G LS
accessaceNOJUNK@valleyalley.co.uk
Remove the NOJUNK to use.
 
It is so simple stupid, I wonder why I didn't think of it.
All I would have to do is put an event in the setfocus trigger that sets the timerinterval to a value.

It sounds much more reliable and much less prone to 'fat finger syndrome'

I still would like to challenge the community to see if there is a automatic way to make an unbound textbox display; similar to my original subject line. I have toyed with all manner of ways to try to make it work, but it is still possible that I overlooked something (like your answer)

Thanks again :)
JerseyBoy
Remember: self-praise is no recommendation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top