Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 11-18-2014, 04:04 AM   #1
WhiskyLima
Newly Registered User
 
Join Date: Oct 2013
Posts: 48
Thanks: 7
Thanked 3 Times in 3 Posts
WhiskyLima is on a distinguished road
Fixed Position

Hi guys. Im working on a form which has textboxes in it. There are also buttons which are on top of the text boxes and what im trying to do is freeze the position of the two. Im finding that when I click into the text box the button goes behind the text box and is no longer visible until I click something else.

I want to avoid a work around such as moving the button to the side of the text box as this is not going to look right. Also I should mention that I need to be able to click on the textbox as there are actions attached to them.

I hope I have made myself clear enough - please let me know if not

Thanks in advance guys!

WhiskyLima is offline   Reply With Quote
Old 11-21-2014, 03:58 AM   #2
WhiskyLima
Newly Registered User
 
Join Date: Oct 2013
Posts: 48
Thanks: 7
Thanked 3 Times in 3 Posts
WhiskyLima is on a distinguished road
Re: Fixed Position

Hi, Thanks for the suggestion. This doesn't work in this situation however as even thought he position is correct to start with, if I click on the text box, for some reason it automatically brings it to the front. Its not until I click on a different box that its position is reverted to the way it should be.
WhiskyLima is offline   Reply With Quote
Old 11-21-2014, 05:40 AM   #3
BigHappyDaddy
Coding Monkey Wanna-Be
 
BigHappyDaddy's Avatar
 
Join Date: Aug 2012
Location: Puyallup, WA
Posts: 205
Thanks: 6
Thanked 38 Times in 37 Posts
BigHappyDaddy is on a distinguished road
Re: Fixed Position

I am making a guess here, do you want your textbox hidden from view, that is why you are putting it behind the button?

__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigHappyDaddy is offline   Reply With Quote
Old 11-21-2014, 07:16 AM   #4
WhiskyLima
Newly Registered User
 
Join Date: Oct 2013
Posts: 48
Thanks: 7
Thanked 3 Times in 3 Posts
WhiskyLima is on a distinguished road
Re: Fixed Position

Basically the idea is that I have made a calendar and in this calendar each day is a textbox. So far I have the calendar populate information - using SQL - from a table of events when a month is selected from a dropdown. Anyway that all works perfectly, but what im trying to do is to have a small button visible in the corner of each of the textboxes where there are more than one event on the day. I have managed all of this and its working perfectly. The buttons are only displayed when there are multiple events on the day and this button is supposed to cycle through the events on the date. This also works perfectly but the problem arises when there is too much information in the box and the user wants to click in the text box and scroll down to see the rest. Making the boxes infinitely bigger is obviously not an option. This clicking and scrolling in the box causes the box to be brought into the foreground of the form and makes the button seemingly vanish until you click on another box.

try it out.. put a text box and a button overlapping and no matter what options you set, one or the other will move to the front when selected. This is what im trying to avoid and it seems like it should be a very basic request but its not as easy as I thought I would be.

Thanks for the assistance guys
WhiskyLima is offline   Reply With Quote
Old 11-21-2014, 07:56 AM   #5
gemma-the-husky
Super Moderator
 
gemma-the-husky's Avatar
 
Join Date: Sep 2006
Location: UK
Posts: 13,800
Thanks: 55
Thanked 1,028 Times in 994 Posts
gemma-the-husky is a name known to all gemma-the-husky is a name known to all gemma-the-husky is a name known to all gemma-the-husky is a name known to all gemma-the-husky is a name known to all gemma-the-husky is a name known to all
Re: Fixed Position

not really easy - the text box gets the focus, and comes to the front, over the button. This is how it works.

why not have sort of navigation buttons under the text box?

The only other thing is having a separate tiny popup form with the button on it- but that is a different idea entirely.
__________________
Dave (Male!)
Gemma was my dog

if a poster helps you, please click the scales at the bottom left of this posting, or use the thanks button alongside.
gemma-the-husky is offline   Reply With Quote
Old 11-25-2014, 06:44 AM   #6
WhiskyLima
Newly Registered User
 
Join Date: Oct 2013
Posts: 48
Thanks: 7
Thanked 3 Times in 3 Posts
WhiskyLima is on a distinguished road
Re: Fixed Position

Ok maybe I will rethink the layout a little - I don't think it will hurt to have the button to the side or underneath maybe.

Cheers All

WhiskyLima is offline   Reply With Quote
Reply

Tags
button , forms , position , textbox

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a control have a fixed position bignate Forms 2 09-29-2013 10:07 AM
Append the Contents of Fixed Width Text File to another Fixed Width Text File JohnLee Modules & VBA 1 12-21-2011 04:51 AM
Add Fixed Value to Field fenhow Modules & VBA 10 06-03-2009 07:14 PM
Fixed Date dce719 Forms 5 02-03-2004 04:54 AM
Visibility fixed! leerlap Forms 0 06-11-2003 06:06 AM




All times are GMT -8. The time now is 02:43 AM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World