AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

FMX: SkiaLabel mit OnClick und Cursor

Ein Thema von himitsu · begonnen am 5. Sep 2025 · letzter Beitrag vom 6. Sep 2025
 
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.719 Beiträge
 
Delphi 12 Athens
 
#1

FMX: SkiaLabel mit OnClick und Cursor

  Alt 5. Sep 2025, 06:19
Tachchen,

ich hab hier ein TSkLabel.
Dort ist in einem der "Words" ein OnClick angegeben, sowie bei diesem Word auch ein Cursor (crHandPoint),
aber weder reagiert dieses Word auf den Click, noch wird bei ihm der andere Cursor angezeigt. Ist das Normal so?

Plattform = Win32

Zum Einfügen in eine FMX-HD-Form:
Delphi-Quellcode:
object SkLabel1: TSkLabel
  Position.X = 400.000000000000000000
  Position.Y = 33.000000000000000000
  Size.Width = 128.820007324218800000
  Size.Height = 27.000000000000000000
  Size.PlatformDefault = False
  Words = <
    item
      Name = 'Item 0'
      Text = 'Skia'
    end
    item
      Font.Size = 20.000000000000000000
      Name = 'Item 1'
      StyledSettings = [Family, Style, FontColor]
      Text = 'La'
    end
    item
      BackgroundColor = claYellow
      Font.Size = 20.000000000000000000
      Font.Weight = Bold
      Name = 'Item 5'
      StyledSettings = [Family, FontColor]
      Text = 'bel'
    end
    item
      Font.Size = 10.000000000000000000
      FontColor = claRed
      Name = 'Item 2'
      StyledSettings = [Family, Style]
      Text = 'Demo'
    end
    item
      Name = 'Item 3'
      Text = ' '
    end
    item
      Cursor = crHandPoint
      Decorations.Color = claRed
      Decorations.Decorations = [Underline]
      Decorations.Style = Dashed
      FontColor = claBlue
      Name = 'Item 4'
      StyledSettings = [Family, Size, Style]
      Text = 'Link'
      OnClick = SkLabel1Words5Click
    end>
end
Ein Therapeut entspricht 1024 Gigapeut.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:36 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz