Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TxTbuttons class doesn't enable objects.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00012180
Message ID:
00012310
Views:
36
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform