Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ObjToClient?
Message
De
24/01/2001 04:45:18
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
À
23/01/2001 18:11:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00467649
Message ID:
00467781
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform