Is it possible in B4P to reverse a boolean as you can do in VB, eg:
txtTest.Visible = (bBool = False)
It would be useful as you could then reduce the code in procedures like this:
Sub ShowHidePaymentList(bShow)
If bShow = True Then
btnNewPayment.Visible = False
btnDeletePayment.Visible = False
btnClearAllP.Visible = False
btnPractices.Visible = False
btnPaymentsList.Visible = False
tblPayments.Visible = True
Else
tblPayments.Visible = False
btnNewPayment.Visible = True
btnDeletePayment.Visible = True
btnClearAllP.Visible = True
btnPractices.Visible = True
btnPaymentsList.Visible = True
End If
End Sub
RBS