To effort control throught the value of variable. To run command from a string
Posted on 2005-04-26
Dear advisor !
i use D2005
i have a form about 20 edit controls. And a combobox to contain all of the name of edit controls. Example : edtmathpoint, edtphysicpoint, edtchemistrypont, edtLiteraturepoint ...
And after the user choice any value from combobox, that edit control should be focused (Setfocus)
The code from visual foxpro :
lc = 'Thisform' + '.' + 'txtpoint'
Please should me the command on Delphi