frmPointInfo.ShowForProfilePoint
| Eigenschaft |
Wert |
| Modul |
Forms |
| Klasse |
frmPointInfo |
| Typ |
Sub |
| Sichtbarkeit |
Public |
| Datei |
Forms/frmPointInfo.vb |
Beschreibung
Befuellt das randlose Popup-Fenster mit allen Feldern eines Trajectory-ProfilePoint und zeigt es an der angegebenen Bildschirmposition an. Die Anzeige umfasst Typ, Phase, Position (Lat/Lon), Altitude, IAS, TAS, GS, Mach, Vertikalgeschwindigkeit (VS), Treibstoffdurchsatz (FF), Perf-Quelle (MDB/Fallback), Distanz vom Abflug, Restdistanz und verbleibenden Treibstoff. Wird als Fallback verwendet, wenn kein ComputedFlightPlanLeg zum angeklickten Punkt zugeordnet werden kann.
Signatur
Public Sub ShowForProfilePoint(pt As Trajectory.ProfilePoint, screenPos As Drawing.Point)
Parameter
| Name |
Typ |
Beschreibung |
Standard |
| pt |
Trajectory.ProfilePoint |
Der Trajectory-Profilpunkt mit berechneten Leistungsdaten |
— |
| screenPos |
Drawing.Point |
Bildschirmposition (Pixel), an der das Popup angezeigt wird |
— |
Ablaufdiagramm
flowchart TD
A[Start] --> B[FormatProfilePoint aufrufen]
B --> C[Label-Text setzen]
C --> D[Location = screenPos]
D --> E[Show aufrufen]
E --> F[Ende]
Aufgerufen von
| Modul |
Sub/Function |
Kontext |
| frmMapView |
pnlMap_MouseDown |
Fallback wenn Klick auf Pfadpunkt ohne Waypoint-Namen und ohne gematchtes Leg |
| frmSideView |
FormsPlot1 MouseDown-Handler |
Fallback wenn kein Leg zugeordnet werden kann |
Ruft auf
| Modul |
Sub/Function |
Kontext |
| frmPointInfo |
FormatProfilePoint |
Formatiert alle ProfilePoint-Felder als mehrzeiligen String |
| Form |
Show |
Zeigt das Popup-Fenster an |
Beispiel
' Popup fuer einen Trajectory-Profilpunkt anzeigen (Fallback)
Dim popup As New frmPointInfo()
Dim screenPoint = pnlMap.PointToScreen(clickLocation)
popup.ShowForProfilePoint(profilePoint, screenPoint)
Aenderungshistorie
| Version |
Datum |
Aenderung |
| 1.0 |
2026-04-16 |
Erstdokumentation |