Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Box with ReadOnly=.t.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00281996
Message ID:
00282002
Views:
25
Joao,
I don't use the Wizards, but I think the Edit button is resetting ALL textboxes to ReadOnly = .F. On the Edit Button's Click() method add the code:
DoDefault()
thisform.MySpecialTextBox.readonly = .T.
The 'DoDefault()' makes the button run the usual, built-in code. Then the new code specifically switches the textbox you want Read Only.

This is one of the many problems with using the Wizard tools in VFP.

And keep in mind that your English is better than almost EVERYONE's Portuguese on the UT.

ADEUS... ATÉ À PRÓXIMA
(and I hope I got that right :-)
Barbara

>I'm a biginer in VFP6, and i have this problem,
>
>I design a form, i put them the wizbtns.vcx, and a textbox with readonly=.t., when i clik in the edit bottom the VFP6 permit to
>type in that textbox.
>
>What is wrong?
>
>i think that is a problem with the class, is that true? i have a similar problem with combobox but i resolve that.
>
>
>Sorry my english, i'm portuguese
>
>Thank's in advance
>
>Joao Batista
>(jbinf@mail.telepac.pt)
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform