>>>>Whenever I execute a ?? chr(7) my pictures in my command buttons jump when the button is down. Is there a fix for this.
>>>>
>>>>TIA
>>>
>>>To re-create the problem just create a simple form with a command button. Select any bmp in the command button picture and in the command button click event put ?? chr(7). Now run the form and after the first click on the button click it again and notice that the picture moves up while it is selected. It seems that the chr(7) is printing a blank line below the bmp.
>>>
>>>What is the problem,
>>>
>>>TIA
>>
>>If you blank the .Caption property, it won't do this.
>
>
>What if you want the caption? I guess I'm out of luck
>
>Thanks
>
>Claude
Looks a little funny maybe, but:
lcCaption = THIS.Caption
THIS.Caption = ""
??CHR(7)
THIS.Caption = lcCaption
solves the problem.
Erik Moore
Clientelligence