Thank you Holger for this HIWWH video. I have a question: is there an I18N strategy inside of TMS Controls for e.g. currency oder date so that I don't put an $ sign in Prefix in the AdvEdit Control? What if the app runs on for e.g. OS with German settings? Then it must change to € as a suffix - and I don't want to program that. I so, I don't need the TMS controls. ;-)
@fburton82 жыл бұрын
Sensible (I hope) question: Is the reason why having an event triggered when the RETURN/ENTER key is pressed _isn't_ hardwired into TEdit/TAdvEdit because this particular UI interaction paradigm is discouraged? I am constantly having to create OnKeyDown events which test for Key = VK_RETURN. Using OnChange is inappropriate when it triggers UI changes that aren't meaningful or useful or which take longer to calculate,; on the other hand, having to press an Apply button feels longwinded. It would be nice if edit controls had OnReturnPressed built in, or if the OnChange event triggering could be changed to via a flag like RequiresReturn.
@tmssoftwareTV2 жыл бұрын
That is a good suggestion. Note that TAdvEdit has already the property AdvEdit.ReturnIsTab that when true, makes pressing Return having the same behavior as when pressing Tab, i.e. move the focus to the next control.
@fburton82 жыл бұрын
Setting zero decimal places for dollar input makes absolutely no cents.