Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5414 > unrolled thread

Stupid MLE question

Started byMartin <spam@spam.spam>
First post2013-06-27 16:04 +0100
Last post2013-06-28 17:21 +0100
Articles 6 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Stupid MLE question Martin <spam@spam.spam> - 2013-06-27 16:04 +0100
    Re: Stupid MLE question JohnMartens <martens@tennishulp.info> - 2013-06-27 18:00 +0200
      Re: Stupid MLE question Martin <spam@spam.spam> - 2013-06-28 17:21 +0100
    Re: Stupid MLE question JohnMartens <martens@tennishulp.info> - 2013-06-27 18:10 +0200
    Re: Stupid MLE question Camille Kater <katercam@pt.lu> - 2013-06-28 13:44 +0200
      Re: Stupid MLE question Martin <spam@spam.spam> - 2013-06-28 17:21 +0100

#5414 — Stupid MLE question

FromMartin <spam@spam.spam>
Date2013-06-27 16:04 +0100
SubjectStupid MLE question
Message-ID<6wYyt.5038$SP1.4070@fx29.fr7>
Hello

I worte a screen with a log on it, looks quite good, then some one typed 
in it.

Disabled looks pants, so how can I stop someone modifying an MLE without 
disabling it?

Thanks

Martin

[toc] | [next] | [standalone]


#5415

FromJohnMartens <martens@tennishulp.info>
Date2013-06-27 18:00 +0200
Message-ID<kqhn82$2pk$1@dont-email.me>
In reply to#5414
Why not use an ft control then ?




Op 27-6-2013 17:04, Martin schreef:
> Hello
>
> I worte a screen with a log on it, looks quite good, then some one typed
> in it.
>
> Disabled looks pants, so how can I stop someone modifying an MLE without
> disabling it?
>
> Thanks
>
> Martin

[toc] | [prev] | [next] | [standalone]


#5420

FromMartin <spam@spam.spam>
Date2013-06-28 17:21 +0100
Message-ID<mKizt.10625$UR4.10293@fx27.fr7>
In reply to#5415
Just looking for quick and simple fix

On 27/06/2013 17:00, JohnMartens wrote:
> Why not use an ft control then ?
>
>
>
>
> Op 27-6-2013 17:04, Martin schreef:
>> Hello
>>
>> I worte a screen with a log on it, looks quite good, then some one typed
>> in it.
>>
>> Disabled looks pants, so how can I stop someone modifying an MLE without
>> disabling it?
>>
>> Thanks
>>
>> Martin

[toc] | [prev] | [next] | [standalone]


#5416

FromJohnMartens <martens@tennishulp.info>
Date2013-06-27 18:10 +0200
Message-ID<kqhnrv$792$1@dont-email.me>
In reply to#5414
More straigthforeward to your question:


METHOD MakeReadOnly() CLASS MultiLineEdit
	MakeReadOnly(SELF)
RETURN SELF

PROCEDURE MakeReadOnly(oControl AS Control)
	SendMessage(oControl:Handle(0),EM_SETREADONLY,1,0)
	oControl:SetStyle(WS_TABSTOP,FALSE)
RETURN



Op 27-6-2013 17:04, Martin schreef:
> Hello
>
> I worte a screen with a log on it, looks quite good, then some one typed
> in it.
>
> Disabled looks pants, so how can I stop someone modifying an MLE without
> disabling it?
>
> Thanks
>
> Martin

[toc] | [prev] | [next] | [standalone]


#5417

FromCamille Kater <katercam@pt.lu>
Date2013-06-28 13:44 +0200
Message-ID<51CD7712.5060001@pt.lu>
In reply to#5414
On 27/06/2013 17:04, Martin wrote:
> Hello
>
> I worte a screen with a log on it, looks quite good, then some one typed
> in it.
>
> Disabled looks pants, so how can I stop someone modifying an MLE without
> disabling it?
>
> Thanks
>
> Martin

Martin,

Why not:
  oMLEControl:ReadOnly:=TRUE   ?


Camille

[toc] | [prev] | [next] | [standalone]


#5419

FromMartin <spam@spam.spam>
Date2013-06-28 17:21 +0100
Message-ID<YJizt.10624$UR4.9820@fx27.fr7>
In reply to#5417
Aghh Makes sense thanks

On 28/06/2013 12:44, Camille Kater wrote:
> On 27/06/2013 17:04, Martin wrote:
>> Hello
>>
>> I worte a screen with a log on it, looks quite good, then some one typed
>> in it.
>>
>> Disabled looks pants, so how can I stop someone modifying an MLE without
>> disabling it?
>>
>> Thanks
>>
>> Martin
>
> Martin,
>
> Why not:
>   oMLEControl:ReadOnly:=TRUE   ?
>
>
> Camille
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web