if ???

0

Za pomocą jakiej procedóry sprawdzić czy coś jest wpisane, np. w polu tekstowym (Edit). Chodzi mi o procedure if coś_tam then

0

if edit1.text='jakis tekst' then
begin
kilka instrukcji (może być jedna)
end;

0

ale ja chce ogólnie. tzn. jeśli jest tam jakikolwiek tekst.

0

if length(edit1.text) > 0 then akcja

0

albo if not edit1.text = '' then akcja :)

0

albo if not edit1.text = '' then akcja :)

Raczej

if not [b]([/b]edit1.text = ''[b])[/b] then...

lub
if edit1.text <> '' then...

1 użytkowników online, w tym zalogowanych: 0, gości: 1