Hi David,
GetLongHint its just a function to shows the 2nd part of the text, wherelse
GetShortHint is a function to shows the 1st part of the text. It used "|" this
symbol to separate the text apart.
for example: if you had 12|34
edit1.Hint := GetLongHint(Edit1.text) {shows 34}
edit1.HInt := GetshortHint(Edit1.text) {shows 12}
showmessage(edit1.Hint); {shows 12|34}
The problem is i have to show the full hint in an edit box, as in edit1.Hint :=
'12|34' but can't show it into a showmessage, which is very difficult to do
so.
If i do it like edit1.Hint := GetshortHint(Edit1.text) +
GetLongHint(Edit1.text) {it shows 1234 but not 12|34}.
And i can't do it like edit1.Hint := GetshortHint(Edit1.text) + '|'
+GetLongHint(Edit1.text) either. {This will then shown the result of 12}
Ann
David Smith <[EMAIL PROTECTED]> wrote:
You might be able to show it by using
Application.shorthint + Application.longhint property.
Have a look at the help on these functions, I'm not in
Delphi right now so I can't offer more detail.
P.S. Does it show if you use a showmessage(hint)?
DJS
--- Ann Tan <[EMAIL PROTECTED]> wrote:
> Hi David,
> Thanks for the suggestion, already give it a tried,
> but doesn't seems like it works. Still unable to
> shows the hint of |
>
> Ann
>
> David Smith <[EMAIL PROTECTED]> wrote:
> Try using a memo component. It parses the string
> differntly.
>
> DJS
>
> --- Ann Tan <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > Is anyone knows about how to shows the symbol of
> > "|" in hint. Recently i just found that when i try
> > to shows hint in a text box, delphi shows
> everything
> > in a text as a hint but except this ---> | ,
> > everything after this symbol | it doesn't shows it
> > out. I'm wondering is there any solution by
> showing
> > a full hint including this symbol ( | )?
> >
> >
> > ---------------------------------
> > Meet your soulmate!
> > Yahoo! Asia presents Meetic - where millions of
> > singles gather
> >
> > [Non-text portions of this message have been
> > removed]
> >
> >
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>
>
-----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe:
> [EMAIL PROTECTED]
>
>
>
> SPONSORED LINKS
> Basic programming language C programming language
> Computer programming languages The c programming
> language C programming language List of programming
> languages
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "delphi-en" on the web.
>
> To unsubscribe from this group, send an email
> to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> ---------------------------------
> Meet your soulmate!
> Yahoo! Asia presents Meetic - where millions of
> singles gather
>
> [Non-text portions of this message have been
> removed]
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS
Basic programming language C programming language Computer programming
languages The c programming language C programming language List of programming
languages
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "delphi-en" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/