Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jumping of image in button
Message
 
 
À
07/09/2001 04:23:51
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00552379
Message ID:
00553631
Vues:
63
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", ; && standard button from VFP samples
>>>>  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.com
ICQ #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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform