Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OBJTOCLIENT() in VFP SP2
Message
From
23/10/2007 08:39:48
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
23/10/2007 02:52:52
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01262508
Message ID:
01262761
Views:
15
>>>>Can you be more specific or, even better, provide a repro code?
>>
>>>Yes, ObjToClient( form.grid.column , 2 ) return 2 different values in SP1 and SP2
>>>
>>>I use coordinates based on ObjToClient() to show another control on to of current grid cell
>>
>>I tested in VFP9 SP2 and correct coordinates were returned. Can you provide a repro code?
>
>
>public oForm
>oForm = Newobject('form')
>oForm.AddObject('grid1','grid')
>oForm.grid1.ColumnCount = 1
>oForm.grid1.Visible = .t.
>oForm.grid1.Left = 16
>oForm.grid1.top = 16
>oForm.Show
>wait window 'ObjtoClient Left = '+Transform( Objtoclient( oForm.grid1.Column1, 2) )
>
>
>SP1 : 35
>SP2 : 51
>
>I uninstalled and reinstalled everything, the same result.


Just to confirm, I get 51 as well with SP2. Didn't try SP1.

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform