Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cbuilderer

    TStringGrid OnSetEditText Editing

    That was a good idea unfortunately SelLength isn't a Property of TStringGrid (at least with CB5). With CB5 SelLength is only in TEdit, TComboBox and TRichEdit. Maybe its included with TStringGrid on newer compilers?
  2. cbuilderer

    TStringGrid OnSetEditText Editing

    Thanks, Here is the code I was using: void __fastcall TfrmMain::sgSREGSetEditText(TObject *Sender, int ACol, int ARow, const AnsiString Value) { int temp; // Check S-REG values are in range. if( ACol == SREG_COL_VALUE ) { // Ensure value is decimal. temp...
  3. cbuilderer

    TStringGrid OnSetEditText Editing

    Im using the OnSetEditText event to verify text changes. If something invalid is entered I change the text to a valid value. The problem is when I change the value, the new value is then highlighted. So if another key press occurs this value gets overridden. I thought maybe if the TStringGrid...

Part and Inventory Search

Back
Top