Hola Luis (feel like talking to myself :)),
>Then you add to the form the 'txtbuttons' from the wizard class and
>run the form,click on 'Edit' or 'Add' and the textbox that is in the
>form gets enabled but the one that is in the pageframe doesn't ?
>Got it ?
>If you look at the method 'setallprop' in the txtbuttons visual class
>you'll know what I'm saying.
There is a CASE missing for handling this in the SetAllProp
method, try adding this lines:
CASE ATC("PageFrame",m.oControlParent.Controls[m.i].BaseClass) # 0
FOR m.j = 1 TO m.oControlParent.Controls[m.i].PageCount
THIS.SetAllProp(m.oControlParent.Controls[m.i].Pages(m.j))
ENDFOR
just before the CASE for "checkbox","textbox", etc.
HTH,
J. Luis
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.