Конференция "Базы" » Работа с Edit [D7]
 
  • Andrey5 © (12.04.14 19:01) [0]
  • Inovet © (12.04.14 19:14) [1]
    if not Edit1.Text.IsEmpty and not Edit2.Text.IsEmpty and Edit3.Text.IsEmpty then одни действия
    if not Edit1.Text.IsEmpty and not Edit2.Text.IsEmpty and not Edit3.Text.IsEmpty then другие действия
  • Andrey5 © (12.04.14 19:53) [2]
    Ругается на IsEmpty , в D7 такой функции нету
  • Inovet © (12.04.14 20:45) [3]
    > [2] Andrey5 ©   (12.04.14 19:53)

    А ну да, Делфи же. А самому никак не догадаться до такого
    if Edit1.Text <> '' and Edit2.Text <> '' and Edit3.Text = '' then одни действия
    if Edit1.Text <> '' and Edit2.Text <> '' and Edit3.Text <> '' then другие действия
  • Andrey5 © (12.04.14 21:08) [4]
    Спасибо большое =)
  • turbouser © (12.04.14 21:55) [5]

    > Andrey5 ©   (12.04.14 21:08) [4]
    >
    > Спасибо большое =)

    Trim не забудь ;)
  • Andrey5 © (12.04.14 21:59) [6]
    Благодарю
 
Конференция "Базы" » Работа с Edit [D7]
Есть новые Нет новых   [118238   +18][b:0][p:0]