Search found 43 matches: limittext

Return to advanced search

Re: Forzar Ancho de línea en un campo Memo

https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42569&sid=69d117ede39f4731baa91e08b8dd8f79 https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42971&sid=69d117ede39f4731baa91e08b8dd8f79 Regards. Karinha en los enlaces que me pasas veo la fun...
by VictorCasajuana
Sat Apr 08, 2023 3:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forzar Ancho de línea en un campo Memo
Replies: 8
Views: 1161

Re: Forzar Ancho de línea en un campo Memo

Victor: El efecto del LimitText se logra asi: #include 'fivewin.ch'Function Main()    Local oDlg    Local oGet    Local cVar := Space( 10000 )    DEFINE DIALOG oDlg;           SIZE 200,200       @1,1 GET oGet;        ...
by VictorCasajuana
Sat Apr 08, 2023 3:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forzar Ancho de línea en un campo Memo
Replies: 8
Views: 1161

Re: Forzar Ancho de línea en un campo Memo

Victor: El efecto del LimitText se logra asi: #include 'fivewin.ch'Function Main()    Local oDlg    Local oGet    Local cVar := Space( 10000 )    DEFINE DIALOG oDlg;           SIZE 200,200       @1,1 GET oGet;        ...
by cmsoft
Fri Apr 07, 2023 11:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forzar Ancho de línea en un campo Memo
Replies: 8
Views: 1161

Forzar Ancho de línea en un campo Memo

...   DEFINE DIALOG oDlg;           SIZE 200,200        @1,1 GET oGet;         VAR cVar;         MEMO;         SIZE 90,70;         OF oDlg    oGet:LimitText(10)        ACTIVATE DIALOG oDlg CENTEREDReturn ( Nil )  Pero el resultado es este: https://i.ibb.co/tqyqnzt/2023-04-07-19h13-28.gif ...
by VictorCasajuana
Fri Apr 07, 2023 5:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forzar Ancho de línea en un campo Memo
Replies: 8
Views: 1161

Re: Limite de Caracteres en GET MULTILINE en FOLDEREX *URGENTE}

... MULTILINE PIXEL             ;      OF oDlg FONT oFont2 COLOR RGB(0,0,128), RGB(159,233,255) UPDATE        ;      ON CHANGE( SB_LimitText( oGet[14] ) ) // By AleSB   // Limpia GET Multiline.   oGet[14]:bGotFocus = { || oGet[14]:SetSel( ...
by remtec
Thu Aug 18, 2022 2:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Limite de Caracteres en GET MULTILINE en FOLDEREX *SOLU. OK
Replies: 3
Views: 455

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

... 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 que al comando @ r,c EDIT para editar controles también creados ...
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: 2076

New FTDN January/Enero 2021 (FWH 21.01)

... 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 @ r,c EDIT command to edit controls created from resources also. ...
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: 2076

Re: Limitar input por caracteres y no por espacio

Added clauses UPDATE and LIMITTEXT [BY n CHARS] to REDEFINE EDIT command in FWH 2101
by nageswaragunupudi
Fri Feb 05, 2021 4:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Limitar input por caracteres y no por espacio
Replies: 7
Views: 825

Re: Limitar input por caracteres y no por espacio

... WORKS   redefine EDIT gnum var vnum id 4002 of d_loc2    ACTIVATE DIALOG d_loc2 CENTEREDreturn nil  But when I put "LIMITTEXT BY 10 CHARS UPDATE" I cannot compile it anymore, through this error: No code generated. test.prg(2810) Error E0030 Syntax error "syntax ...
by Hector Pedro Lerda
Wed Feb 03, 2021 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Limitar input por caracteres y no por espacio
Replies: 7
Views: 825

Re: Limitar input por caracteres y no por espacio

... you wanted. Clicking at any place will take the cursor to that place even if there are spaces. This has been the behavior of Get class since ages. Limittext value of -1 is for multiline edit. For single line edit it is 0. In any case normal ANSI get ignores this setting. FWH provides EDIT class ...
by nageswaragunupudi
Wed Feb 03, 2021 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Limitar input por caracteres y no por espacio
Replies: 7
Views: 825

Limitar input por caracteres y no por espacio

... color CLR_3  update Estuve investigando tanto aqui, como en los docs de Harbour y no encuentro nada. Solo encontre algo de LimitText( -1 ) para dejarlo libre, pero no me funciona. Me dice "No exported method". Lo uso de la siguiente manera: // Despues del redefine ...
by Hector Pedro Lerda
Tue Feb 02, 2021 10:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Limitar input por caracteres y no por espacio
Replies: 7
Views: 825

Re: How to show a large text

Antonio Linares wrote:Hakan,

Please try this from the ON INIT of the dialog:

oMemo:LimitText( -1 ) // No text size limits

Also you may try using the FWH function RichEdit() instead of MemoEdit()


Thank you. It seems it works.
by Horizon
Thu Dec 31, 2020 6:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to show a large text
Replies: 17
Views: 2725

Re: How to show a large text

Hakan,

Please try this from the ON INIT of the dialog:

oMemo:LimitText( -1 ) // No text size limits

Also you may try using the FWH function RichEdit() instead of MemoEdit()
by Antonio Linares
Thu Dec 31, 2020 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to show a large text
Replies: 17
Views: 2725

Re: Something similar to EM_LIMITTEXT but to control height?

Disable Enter key by
Code: Select all  Expand view  RUN
ON INIT oGet:WinStyle( ES_WANTRETURN, .f. )

Then the user can enter only 200 characters and can not use Enter key at all.
by nageswaragunupudi
Tue Aug 04, 2020 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Something similar to EM_LIMITTEXT but to control height?
Replies: 3
Views: 637
Next

Return to advanced search