Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2001-06

label1.caption:=edit1.text ?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Utilisateur exemple SuSE Linux 6.4: No problem when i compile and link but when the program runs i have a violation access.…
Utilisateur exemple SuSE Linux 6.4 wrote
No problem when i compile and link but when the program runs i have a violation access. label1.caption is a string and edit1.text is a string no ?

Caption and Text are ansistrings.

If you got an access violation in the line
label1.caption:=edit1.text;
then probably either label1 or edit1 are nil (= not created).

Mattias Gaertner

Reply by email

Utilisateur exemple SuSE Linux 6.4

No problem when i compile and link but when the program runs i have a violation access.
label1.caption is a string and edit1.text is a string no ?

Thanks

Reply by email