send to back / bring to front

murray83

Games Collector
Local time
Today, 21:58
Joined
Mar 31, 2017
Messages
816
i'm hiding a command button once its pressed by changing focus to a text box which isn't used for anything but, allowing me to hide the command button

problem i have encountered is, it of course places a curser in the box, which i then tried to hide with a black image ( as my bg colour is black so you cant see it ) but on the change focus to this aforementioned text box, it would seem to be brought to the front

so how/can you bring to the front the image box so it covers the text box and makes me a happy bunny

cheers all
 
You seem to be using a sledgehammer to crack a nut...
Why not instead set the focus to something else on your form e.g. a different command button
 
You seem to be using a sledgehammer to crack a nut...
Why not instead set the focus to something else on your form e.g. a different command button


that it maybe, dont try the easy routes first
 
BTW I suggest disabling the button rather than hiding it.
 
i went with the fist choice of using another button for focus, but just out of intrest can an image box be moved to front on command using VBA
 

Users who are viewing this thread

Back
Top Bottom