I have a form with an existing grid. In certain circumstances I need to dynamically add a column to the end of the grid. The problem is that the text box for that column needs to have a VALID event built also. This is what I have so far:
I tried adding a simple "WAIT WINDOW 'Valid Fired' TIMEOUT 2" to this.ColAssignBroker.valid but it said that Valid is Read-Only. How can I set up the VALID method.
Steve
Code:
LOCAL nCurrentColumnCount
nCurrentColumnCount = this.ColumnCount
this.ColumnCount = nCurrentColumnCount + 1
this.Column1.FontSize = 8
this.Column1.ControlSource = "evtmp.assgn_brkr"
this.Column1.Width = 50
this.Column1.Name = "colAssignBroker"
this.ColAssignBroker.header1.Caption = "Asgn To"
this.ColAssignBroker.text1.Name = "txtAssignedTo"
this.ColAssignBroker.txtAssignedTo.InputMask = "!!!!"
I tried adding a simple "WAIT WINDOW 'Valid Fired' TIMEOUT 2" to this.ColAssignBroker.valid but it said that Valid is Read-Only. How can I set up the VALID method.
Steve