🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10165

How to hide caret in Edit Box?

#10165
From: Eugene
Date: Thu, 20 May 2004 14:34
9 lines
1144 bytes
Hi,

I would like to ask how to hide the caret totally in controls.I can hide it with HideCaret, e.g:
HideCaret(Edit1->Handle);
But i must write it to OnChange, OnClick and FormCreate.By the other hand another people has asked this here and got a complete answer with 2 lines of code.I noted that before but now i can not find it.
In short sentences, how can i hide caret in TEdit completely?

Eugene
Technical Details
Message-ID: <40acc205$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f48a98caca73cc37,start
X-Google-Attributes: gid10cc67,public
From: "Eugene" <eugene@dmx.de>
Sender: "Eugene" <eugene@dmx.de>
Reply-To: "Eugene" <eugene@dmx.de>
Subject: How to hide caret in Edit Box?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 81.215.254.50     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40acc205$1@newsgroups.borland.com>
Date: 20 May 2004 07:34:45 -0700
X-Trace: newsgroups.borland.com 1085063685 207.105.83.66 (20 May 2004 07:34:45 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail