Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
public: void Funktion(string xy);
void TForm1::Funktion(string xy)
{
ListBox1->Items->Add(xy.c_str()); // da im Namensraum TForm die ListBox bekannt ist kann Form1->.... weggelassen werden
}
#include "Unit1.h" // <- wichtig damit er die ListBox kennt
class blubb // das in deine Header
{
public: void Funktion(string xy);
}
#include "deineHeader.h"
void blubb::Funktion(string xy) // das in die cpp zur Implementierung
{
Form1->ListBox1->Items->Add(xy.c_str()); // hier muss wieder Form1-> stehn weil du nich nich in der TForm Klasse direkt bist
}