Autor Beitrag
thebug
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Mo 12.05.03 19:49 
Ich habe in meinem Delphi Programm Farben die als dezimal zahlen in integer variablen abgespeichert sind und möchte diese als hexadezimal zahlen in einem edit Feld anzeigen.


Leon

Danke im Voraus
:oops: :oops:
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mo 12.05.03 20:02 
IntToHex :!:

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
thebug Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Mo 12.05.03 20:42 
wie meinst du dass denn wenn ich

edit4.text:=hextostr(inttostr(scrollbar1.position));

geht nicht :oops: :?: :?: :?: :?: #




leon
SpeedyGTD
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 89



BeitragVerfasst: Mo 12.05.03 22:09 
probiers mal mit
ausblenden Quelltext
1:
 Edit4.Text:=IntToHex(ScrollBar1.Position, 3);					

die 3 steht für die länge der Zeichenfolge ;)

_________________
...hab ich vergessen ;)