Konu: seçilen değerden başka değişlenlere değer aktarmak
Yeni kayıt tuşuna bastıktan sonra
- OBJECT Islem1
- Object txtFiyat
- Object txtDoviz
.T. yapılıyor. Bunlar alt alta sıralı.
Yapmak istediğim :
- "OBJECT Islem1 " de seçimi yaptığım zaman
- Seçilen değerin "Ucret.fiyat" değerini "Object txtFiyat" a ,
"Ucret.doviz" değerini "Object txtDoviz" değerine aktarıp
gerekirse "Object txtFiyat" ve "Object txtDoviz" değerlerinde
değişiklik yapabilmek
Bunu nasıl yapabilirim ? "OBJECT Islem1" ile "Object txtFiyat" arasına
kod eklemek mi gerekiyor ?
Teşekkürler.
*===========================================
ADD OBJECT Islem1 AS combobox WITH ;
Top = 52, ;
left = 385, ;
Width = 200, ;
BackColor = 65535, ;
rowsourcetype=2,;
rowsource="Ucret.adi,no,fiyat,doviz",;
boundcolumn=4,;
columncount=4,;
columnwidths="100,60,30,10",;
Enabled = .T.
Add Object txtFiyat As myTextBox With ;
Top = 77, ;
left = 165, ;
Width = 80, ;
BackColor = 65535, ;
InputMask = "999,999.99", ;
Enabled = .T.
Add Object txtDoviz As myTextBox With ;
Top = 77, ;
left = 255, ;
Width = 20, ;
BackColor = 65535, ;
InputMask = "9", ;
Enabled = .T.