DevilsAngel
06-04-03, 06:51
| Hi! I am working with Paradox 10. I have created a form where you can enter Data to a table. If the user leaves one of the fields blank, I want this field on the form to turn red. I have tried it with this code, but it doesn't work: method action(var eventInfo ActionEvent) if eventInfo.id() = DataArriveRecord then doDefault if Seminarnummer.Value = ("blank") then self.Color = red else self.Color = transparent endif endif endmethod I also tried this method, but Paradox 10 seems to not know this method: method changeColor() if Seminarnummer.Value = ("blank") then self.Color = red else self.Color = transparent endif endMethod How can I solve this Problem? |