Jump to content
Fivewin Brasil

Copiar, Colar e Recortar em campos readonly


mjmb

Recommended Posts

Tente assim:

oGet:bRClicked:= {|| .T. }

É aconselhável alterar isso na classe para não precisar ficar mudando em todo lugar que está com ReadOnly...

Eu costumo usar WHEN .F., desse modo ele desabilita o Get e nem permite selecionar o texto

Luis Fernando (Luisão)

"Work it Harder; Make it Better; Do it Faster; Make us Stronger"

Link to comment
Share on other sites

citação:

Olá,

Como impedir que campos com a cláusula NO MODIFY (lReadOnly:=.t.) sejam impedidos de serem alterados através do menu popup do botão direito ?

Abraços,

Márcio.


id=quote>id=quote>

oGet:bChange := {|| cGet := cSemModificar, oGet:Refresh() }

Onde cSemModificar é uma variavel auxiliar que vai servir para armazenar o valor correto. icon_smile_wink.gif

MSN: samirid=red>abreuid=black>@hotmail.com

Skype: Samirid=red>Abreuid=black>

xHarbour 1.1.0 + FwXh 8.02

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...