A
A
Alex Lesley2016-09-07 14:03:48
C++ / C#
Alex Lesley, 2016-09-07 14:03:48

Doesn't compile with any text in TrayIcon->Hint();?

I'm learning C++Builder 10 XE Seattle. When compiling, it gives an error { type system::unicodestring does not provide a call operator } on TrayIcon->Hint(); with any text inside.
Please tell me how to fix? I've been familiar with C++ for a couple of days...
GrqY4Bxhd7BVrz.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mercury13, 2016-09-07
@dvoke

It uses the C++ extension, the so-called. properties. Outwardly, they look like fields, but when read-write they call functions.
And one more thing - the name Form1 is not recommended, call it fmMain somehow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question