I am trying to ascertain when the character maximum of a Textbox is reached.
And in the Callback, I tried this but it never gets tripped:
Is the Control Send right? Or do I need to use something other than the Default Style in the Add Textbox? Or both?
Code:
Control Add TextBox, hdlg, %Id_WholeName, "", Col + Wdth + 2, Row, g_Textbox_Width, g_Textbox_Height Control Send hdlg, %Id_WholeName, %EN_MAXTEXT, 0, 64 'Len(db.WholeName)
Code:
' Case %WM_COMMAND 'This processes command messages Select Case CbCtl Case %Id_Index To %Id_Comments Select Case CbCtlMsg Case %EN_MAXTEXT m1$ = "No more room":mb End Select End Select
Comment