Nadya, I was not able to reproduce it for a long time too. Just tried a lot of images, then after I received a list of property settigns, I set them up and - whoaah! there is a bug...
One litlle note - try to add few text boxes (I had even grid on that form) and then test the button. I do not know how, but I reached that behaviour.
BTW, I used VFP6.0+SP3. Maybe it is fixed in later versions?
If needed, I will send the image file I used to reproduce behaviour and even that form. the image file size is 9,046 bytes.
>Nope; not good enough.
>
>I'm surprised at you, Vlad ... you're not being very "scientific" here :)
>
>My suspicion is that there is a relationship between the size of the BMP and the settings .... "Just use the property settings" (in this case) is not good enough ..
>
>>Well, I did not found that image too, but I do not have all samples installed. I just used another (larger than button) BMP on that place and reproduced behaviour. Just use property settings for button as described.
>>
>>>Yes, well, we're still guessing ...
>>>
>>>There are a "bazillion" VFP "close" BMP's ... all different sizes .... but none are called "sclose.bmp" ...
>>>
>>>I think you made the whole thing up .................. :)
>>>
>>>
>>>>Hi!
>>>>
>>>>I just have no time to prepare bug report accurately and describe it. I will appreciate when somebody do it. Let me know if somebody send it. I will ry to get free time and send it by self if nobody do it.
>>>>
>>>>BTW, to reproduce behaviour, following PEMs of button should be set:
>>>>
>>>>
>>>>ADD OBJECT cmdexit AS scommandbutton WITH ;
>>>> Top = 3, ;
>>>> Left = 745, ;
>>>> Height = 40, ;
>>>> Width = 44, ;
>>>> FontName = "MS Sans Serif", ;
>>>> FontSize = 8, ;
>>>> Picture = "btnbmps\sclose.bmp", ;
>>>> Cancel = .T., ;
>>>> Caption = "Koniec", ;
>>>> TabIndex = 12, ;
>>>> ToolTipText = "Zatvorenie okna", ;
>>>> Name = "cmdExit"
>>>>
>>>>
>>>>
>>>>
>>>>>Daniel-
>>>>>
>>>>>>I have seen this but was unable to reproduce the problem yesterday. Believe me, I tried hard :-)
>>>>>
>>>>>Thanks. I was hoping to have a reproducible example we could send in for a bug report, but perhaps Vlad has done that.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.