>Yes thanks! I got it.
>
>Another question. In my command_buttons.vcx, I have the ADD command. I created a method in command_buttons.vcx called "Savemode" that hides all others button on that class and show the Save and Cancel button. I also have "APPEND BLANK".
>Thisform.SetAll("Visible",.F.,"Commandbutton")
>Thisform.cmdSave.Visible=.T.
>Thisform.cmdCancel.Visible=.T.
>APPEND BLANK
>
>I put the class on form Pettycash.
>On Pettycash form, I got to class Add button and put a SetAll command to enable all textboxes.
>Thisform.SetAll("Enabled",.T.,"Textbox")
>
>On run mode, textboxes are enabled. A blank is appended, but all buttons are all still visible.
>
>What could be wrong?
Are you sure you use default textbox class and not some special class for your textboxes?
Also where do you call your new method?
If it's not broken, fix it until it is.
My Blog