Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

bei "Visual C++ 6" kann ich super einfach

einem edit-feld eine variable zuweisen.

gibt es bei "Borland C++ Builder 5" auch sowas?

wenn nein, wie ist es dann möglich?

p.s. ich hab ge google't bis zum unfallen und nichts hilfreiches gefunden.

bin zu schlecht in englisch.

du kannst den Wert des Edit-Feldes in eine Variable übertragen und andersherum, aber es gibt keine fest zugewiesenen Variablen für Edit-Felder. Wofür brauchst du das denn? Dann kann man dir sagen, ob das auch anders möglich ist.

Das sieht dann so aus:

String Text = Edit1->Text;

oder:

String Text = "Hallo Welt";

Edit1->Text = Text;

Für Text ist das einfach. Wie es jedoch mit Zahlen aussieht weiss ich nicht genau. Aber notfalls vorher die Zahlen in Text umwandeln.


AnsiString MeinText = "Test 1 2 3";


Edit1->Text = MeinText;


// ------------------------------------------


int MeineZahl = 123;


Edit1->Text = IntToStr(MeineZahl);

Habe das jetzt nicht ausprobiert, müsste aber so in etwa funktionieren.

cool danke

war schon alles, habt mir sehr geholfen.

ich bin dabei mir einen login dialog zu erstellen.

und ohne, mit dem inhalt eines editfeld arbeiten zu können, klappte das nicht.

jetzt klappt es danke nochmal.:D

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.