Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ObjToClient?
Message
From
24/01/2001 11:42:50
 
 
To
24/01/2001 04:45:18
Jill Derickson
Software Specialties
Saipan, CNMI
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00467649
Message ID:
00467930
Views:
9
>>OBJTOCLIENT works for me. Are you sure your TextBox is IN the container?
>>>yes...it's Marcia Akinsn & Andy Kramek's Combo Grid class...still don't know what the problem was there...will play w/it a little.
>
>Oops, sorry about Marcia's last name ... it's Akins, of course.
>
>
>OK, I created a container w/2 text boxes, put it on a form, and got the results that I expected when I displayed the ObjToClient value of the 2 text boxes in the INIT of the form.
>
>
>The ComboGrid class is a container w/a Grid (top = 24), a command button (top = 1), a textbox (top = 0) and a label (top = 172). If I display the ObjToClient values in the INIT of a form that has a ComboGrid object, w/a TOP of 198, the values show:
>
>Grid 198
>textbox 0
>button 1
>
>(shouldn't value for Grid be 198 + 24, textbox be 198 and button be 199?)
>
>If I move the display of the values to after the INIT of the form, the values are:
>
>Grid 198
>textbox 198
>button 199
>
>OK, now textbox and button make sense...but why are they different after the INIT? and the Grid should, again be 198 + 24, I think.
>
>Actually, I don't really need to make use of this any more - but I've never used ObjToClient - it seems handy, but I can't get this straight...Any input is appreciated...J

It still all works as expected for me, I don't see any changes during/after the Init. What does the code in your init look like?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform