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!

Command Button Problem

Status
Not open for further replies.

xmeb

Technical User
Jun 5, 2013
89
Hi:

I have a pop up form with a command button that pops up a message box which works fine. However, when it pops up the message box the pop up form goes full screen. What's wrong?

Thanks,

xmeb
 
How are ya xmeb . . .

Under the circumstances I'd delete the form then re-instantiate. What you iterate sure sounds like corruption. As an attempt to save your a.. post the code in the button?

See Ya . . .

Be sure to see FAQ219-2884 Worthy Reading! [thumbsup2]
Also FAQ181-2886 Worthy Reading! [thumbsup2]
 
Thanks.

I deleted the macro that the command button opened and it seems okay now. Why do these things happen?
 
xmeb . . .

Hard to say why but what happens if you instantiate the button with code again? ... and yes ... would still [blue]like to see the code[/blue] in the button!

[blue]Your Thoughts?[/blue]

See Ya . . .

Be sure to see FAQ219-2884 Worthy Reading! [thumbsup2]
Also FAQ181-2886 Worthy Reading! [thumbsup2]
 
Computers (sometimes) don’t do what you want them to do, or what you would like them to do, and they do stuff that is a surprise to the programmer.
Computers do what you tell them to do. And there is a big difference.
So if somewhere in your code you say: “Make this Form big”, that’s what will happen. May be it is not what you want to happen.
:)

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top