Topic: How Even DoubleClick Cell TableGrid To Send Value To Combobox And Text
How Edit Script Even DoubleClick Cell TableGrid To Send Value To Combobox And Text ?
Easy For Beginner Student For Me
My Visual Database → Script → How Even DoubleClick Cell TableGrid To Send Value To Combobox And Text
How Edit Script Even DoubleClick Cell TableGrid To Send Value To Combobox And Text ?
procedure Form1_TableGrid2_OnCellDoubleClick (Sender: string; ACol, ARow: Integer);
begin
form1.ComboBox1.dbItemID := form1.TableGrid2.dbItemID ;
form1.Edit1.text :=
SQLExecute ('select qty from tableb where id = ('+inttostr(form1.TableGrid2.dbItemID)+')');
end;
Is that the answer Prahousefamily?
Your script is correct.
I found interesting the example to get details from grid A to grid B with no script, but I am still searching why using double click in a grid to pass values to a combobox since the combobox would list the same values as in the grid. Do you have a more speaking example of the use of such a feature?
My Visual Database → Script → How Even DoubleClick Cell TableGrid To Send Value To Combobox And Text
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi