Autor Beitrag
Biarchiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Di 18.03.03 21:22 
Hallo,

Wie kann man die Hint (Bei ShowHint = True) den Text abteilen.
Denn der geht in einer langen Zeile durch.

Also einfach wo ich will den Text abteilen.

Danke..
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 18.03.03 21:34 
Definier mal, was du unter "abteilen" verstehst.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 18.03.03 21:35 
was meinst du mit abteilen ?

wenn du nen umbruch in der hintzeile meinst dann such doch bitte hier im forum !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Mi 19.03.03 15:28 
Umbruch geht mit mit:  #13#10Gruß wulfskin!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
Segelflieger
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 124

WinXP Pro
D7 Prof
BeitragVerfasst: Do 20.03.03 18:18 
Also, bei mir funktioniert das nicht. Muss ich da noch irgenwas beachten?

_________________
Früher hatten die Menschen Angst vor der Zukunft. Heute muss die Zukunft Angst vor den Menschen haben.
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Do 20.03.03 18:22 
Segelflieger hat folgendes geschrieben:
Also, bei mir funktioniert das nicht. Muss ich da noch irgenwas beachten?


Das ist ja ziemlich interessant :wink: , aber was genau funktioniert nicht? Kriegst Du gar keinen Text, nur bis zum Umbruch oder wird der Umbruch übersehen? Vielleicht postest Du mal die Zeile, in der Du den Umbruch einfügst.

Gruß
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Do 20.03.03 18:54 
Segelflieger hat folgendes geschrieben:
Also, bei mir funktioniert das nicht. Muss ich da noch irgenwas beachten?
Mhhh...eigentlich nicht. Beispiel:  XYZ.Hint := '1. Zeile' + #13#10 + '2. Zeile';Gruß wulfskin!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 20.03.03 20:48 
vielleicht ist deine DelphiVersion so alt dass die noch keine Umbruach Hints kann..... Das kann aber kaum sein !!

Der Code von wulfskin funzt zu 100% !!!

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Do 20.03.03 23:11 
Hi,

ich tippe mal daran es geht bei ihm nicht, da er den Zeilenumbruch #13#10 im OI eingegeben hat... :)

Biarchiv: Setzt deine ganzen Hint-Texte die einen Zeilenumbruch haben sollen mal im Form-OnCreate (So wie die beispiele hier)... dann sollte es funktionieren.

Au'revoir,
Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 21.03.03 15:38 
also ich glaube es gibt eine kompo in der gibt es ereignisse, die deine app betreffen. da gibt es ein ereignis, das eintritt, wenn ein HINT angezeigt wird. und da wird dir auch der hinttext übergeben.
ich weiss niocht ob man da auch den hinttext setzten kann, denn dann könntest du dir eine routine proggen, die z.b. ein /nl/ im Hinttext in einen umbruch umwandelt.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Fr 21.03.03 16:03 
Man muss doch nicht für jedes kleine Problem gleich eine Komponente verwenden. Das kann es doch echt nicht sein.

Was Wulfskin geschrieben hat, sollte vollkommen ausreichen.

_________________
If accidentally read, induce vomitting.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 21.03.03 20:19 
also a)ist die kompo bei delphi dabei
b)geht mein tipp grad nicht, denn man kann den text nicht setzten sondern nur lesen
und c) wäre das komfortabler als alle hints zur laufzeit zu setzten

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Segelflieger
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 124

WinXP Pro
D7 Prof
BeitragVerfasst: Mo 24.03.03 19:09 
Danke, Aya, hast recht :oops:

_________________
Früher hatten die Menschen Angst vor der Zukunft. Heute muss die Zukunft Angst vor den Menschen haben.