wypros za TextBox
2 отговора
101 прегледа
wypros za TextBox
Как може като натисна един бутон, текста от даден TextBox да стане selected? Не видях никъде property selected или нещо подобно за TextBox...
biva li takova neshto ?
abe hora, shto ne prochetete malko ot MSDN-a ?
ami tova sa elementarni neshta i si gi pishe tam.
eto ti sors
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
Text1.SetFocus
ami tova sa elementarni neshta i si gi pishe tam.
eto ti sors
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
Text1.SetFocus