Update Form Designer - FormDesigner_QTableWidget Class - Using PrepareEvent() Method.
@@ -3401,34 +3401,49 @@ class FormDesigner_QTableWidget from QTableWidget
func GenerateCustomCode
cOutput = ""
cOutput += 'setcellActivatedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,cellActivatedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",cellActivatedEventCode())
cOutput += 'setcellChangedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,cellChangedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",cellChangedEventCode())
cOutput += 'setcellClickedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,cellClickedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",cellClickedEventCode())
cOutput += 'setcellDoubleClickedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,cellDoubleClickedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",cellDoubleClickedEventCode())
cOutput += 'setcellEnteredEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,cellEnteredEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",cellEnteredEventCode())
cOutput += 'setcellPressedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,cellPressedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",cellPressedEventCode())
cOutput += 'setcurrentCellChangedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,currentCellChangedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",currentCellChangedEventCode())
cOutput += 'setcurrentItemChangedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,currentItemChangedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",currentItemChangedEventCode())
cOutput += 'setitemActivatedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,itemActivatedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemActivatedEventCode())
cOutput += 'setitemChangedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,temChangedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemChangedEventCode())
cOutput += 'setitemClickedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,itemClickedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemClickedEventCode())
cOutput += 'setitemDoubleClickedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,itemDoubleClickedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemDoubleClickedEventCode())
cOutput += 'setitemEnteredEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,itemEnteredEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemEnteredEventCode())
cOutput += 'setitemPressedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,itemPressedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemPressedEventCode())
cOutput += 'setitemSelectionChangedEvent("#{f1}")' + nl
+ cOutput = PrepareEvent(cOutput,temSelectionChangedEventCode(),"#{f1}")
cOutput = substr(cOutput,"#{f1}",itemSelectionChangedEventCode())
return cOutput
