Search found 125 matches: tedit

Return to advanced search

Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )

Hola a todos,

Veo que en la lógica del control TEDIT está este código:

::nStyle = nOr( ::nStyle, ES_READONLY )

¿Cómo se puede revertir este código en tiempo de ejecución y si es necesario volverlo a aplicar?

Muchas gracias,
by FiveWiDi
Mon Mar 25, 2024 10:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como revertir ::nStyle = nOr( ::nStyle, ES_READONLY )
Replies: 5
Views: 1067

Re: TGet() - UTF8 encoding fails [Unsolved]

yes, so far everything is in order.
But when editing, the encoding switches!

Please wait for my next post.
Ok, I will wait, it is not very urgent. In some places I have switched to TEdit(), but would like to return to TGet().
by frose
Wed Oct 11, 2023 6:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1718

Re: TGet() - UTF8 encoding fails

Yes, the encoding switch from UTF8 to ANSI
by frose
Thu Sep 14, 2023 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1718

Re: TEdit() - UTF8 encoding fails

UTF-8 to Unicode

Utf-8 is Unicode
Probably you mean ANSI to UTF8.
by nageswaragunupudi
Thu Sep 14, 2023 8:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1718

TGet() - UTF8 encoding fails [Solved]

UTF8 encoding fails in TGet()! #include "fivewin.ch"function Main()   local oDlg   local oGet   local cVar1 := "üäö"   REQUEST HB_CODEPAGE_UTF8   HB_CDPSELECT( "UTF8" )   FW_SetUnicode( .T. )   DEFINE DIALOG oDlg SIZE 600, 600 PIXEL TRUEPIXEL   @...
by frose
Thu Sep 14, 2023 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 1718

Re: FW_SetUnicode( .T. ) 2-Byte characters

... the Unicode characters correctly, which is amazing but also a bit confusing! IMHO it would be better, to show � instead. This happens in TGet(), TEdit and TMultiGet()!
by frose
Tue Jun 27, 2023 6:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 2182

Re: FW_SetUnicode( .T. ) 2-Byte characters

... help me by 1. Let me know if the multiline Get @ r,c, GET ctext MEMO/TEXT .. is working perfectly with German lang when FW_SetUnicode() is .T. ? TEdit() does not work correctly yet. Something happens with <cVar1> and <cVar2>: FUNCTION Main()   LOCAL oDlg   LOCAL oEdit   LOCAL ...
by frose
Mon Jun 26, 2023 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 2182

TEdit on the RibbonBar

Hi, I put the TEdit control on the RibbonBar. Everything works fine as long as the mouse cursor is on the RibbonBar, otherwise TEdit is cleared. To protect myself from this I do: oEdt:bChange:={|nKey,flfg,oEdt|oEdt:VarPut(oEdt:cText())} ...
by Natter
Sat Jun 10, 2023 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEdit on the RibbonBar
Replies: 0
Views: 138

Re: Text paste event

Rao, you're right! If I use TGet, then everything is fine. But there is a problem under TEdit :cry:
by Natter
Tue May 30, 2023 2:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Text paste event
Replies: 7
Views: 299

Re: Text paste event

I didn't understand what this example has to do with it. :(
I need to catch the moment when the TGET/TEDIT control changes when data is entered into it from the clipboard or programmatically
by Natter
Tue May 30, 2023 1:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Text paste event
Replies: 7
Views: 299

Text paste event

Hi,

How can I handle the text paste event in TGET/TEDIT from the clipboard ? In this case, oGet:change does not work
by Natter
Tue May 30, 2023 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Text paste event
Replies: 7
Views: 299

Re: New FTDN January/Enero 2021 (FWH 21.01)

... extrae la imagen inmediatamente. La imagen se puede guardar usando: Method SaveImage() - Mira el ejemplo nuevo: \fwh\samples\imgb64.prg * Clase TEdit ( source\classes\edit.prg ) Añadidas las claúsulas UPDATE y LIMITTEXT [BY n CHARS] al comando REDEFINE EDIT para proporcionarle la misma funcionalidad ...
by Antonio Linares
Sun Feb 07, 2021 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 1254

New FTDN January/Enero 2021 (FWH 21.01)

... text or url, the class extracts the image immediately. The image can be saved using: method SaveImage() - See new sample \fwh\samples\imgb64.prg * TEdit class ( source\classes\edit.prg ) Added clauses UPDATE and LIMITTEXT [BY n CHARS] to REDEFINE EDIT command providing the same functionality as ...
by Antonio Linares
Sun Feb 07, 2021 9:10 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 1254

CBS_DROPDOWN select all empty text

... https://i.imgur.com/HnhXBhL.png I see there is no way to avoid the TGet creation on CBS_DROPDOWN, personally I would prefer the TEdit control
by AntoninoP
Wed Dec 11, 2019 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CBS_DROPDOWN select all empty text
Replies: 4
Views: 904

Re: [bug] crash on TEdit

You are right.
Thanks for pointing out.
This is fixed at our end for next release.
by nageswaragunupudi
Tue Nov 20, 2018 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: [bug] crash on TEdit
Replies: 1
Views: 685
Next

Return to advanced search