Página 1 de 1
TEXTBOX MEMO
Enviado: 19 Fev 2022 11:13
por axelfolley
HI, I HAVE THIS NUMERICAL TEXTBOX AND I WOULD LIKE TO CHANGE IT TO MEMO
SOMEONE HELP ME? THANK YOU
@ 60.85 TEXTBOX TEXT_1;
WIDTH 50;
FIELD OPERATOR-> PROGRESS;
NUMERIC;
MAXLENGTH 10
TEXTBOX MEMO
Enviado: 19 Fev 2022 12:12
por alxsts
Olá!
Benvenuto Axelfolley!
I think you should use an Editbox instead of a Textbox.
See exemple
here.
There are examples in the samples folder of your Minigui inatallation.
Good luck!
TEXTBOX MEMO
Enviado: 19 Fev 2022 13:42
por axelfolley
thanks for the quick reply
But I would need an example for MEMO cells.
In the Minigui examples folder I have seen, but there is nothing for the Memo field
Do you have something please
Also I would like to insert the multiline command in this example. do you have something for this too

Thanks again
TEXTBOX MEMO
Enviado: 19 Fev 2022 15:07
por alxsts
Olá!
axelfolley escreveu:But I would need an example for MEMO cells.
Do mean a TSBROWSE or GRID containing a MEMO inside one of it's cells?
I personally use HwGui and I don't have a deep knowledge in Minigui. I don't even know if this is possible. Let's wait for help from someone else.
TEXTBOX MEMO
Enviado: 19 Fev 2022 18:19
por axelfolley
Thanks for the support you have given me so far.
I'll explain.
I have a dbase which has columns of character and memo type cells.
To load data into character format cells I use that textbox program listing I posted at the beginning.
That listing should be edited to write in memo cells.
I think it can be done because I found examples for character, number, date cells but I am missing an example for memo cells
Thank you
TEXTBOX MEMO
Enviado: 19 Fev 2022 19:24
por alxsts
Olá!
axelfolley escreveu:I have a dbase
Assuming you're refering to DBF tables, memo fields are character strings with a size greather than regular character data type ones. So I think you should use Editbox controls for memo cells. Define the editbox. Load the memo cell from table into it the same way you'do for a char cell. Let user edit it and write it back to your table.
See Editbox example at the link I posted above.
TEXTBOX MEMO
Enviado: 20 Fev 2022 07:14
por axelfolley
I do not think the solution with the EDIT option that you have indicated is suitable for the MEMO component as after three lines of characters it does not accept other entries (the Memo field instead loads many more characters).
Your indication with the EDIT field was however very useful to solve the other problem that was to manage multilines in a TEXT form (with this system they now work). Thanks for the support anyway. Eventually I await some other suggestions for the problem of the MEMO field
TEXTBOX MEMO
Enviado: 20 Fev 2022 07:38
por Itamar M. Lins Jr.
Hi!
See this:
Código: Selecionar todos
DEFINE EDITBOX Edit_1
ROW 30
COL 40
WIDTH 170
HEIGHT 280
VALUE ""
FONTNAME "Arial"
FONTSIZE 9
TOOLTIP ""
ONCHANGE Nil
ONGOTFOCUS Nil
ONLOSTFOCUS Nil
FONTBOLD .F.
FONTITALIC .F.
FONTUNDERLINE .F.
FONTSTRIKEOUT .F.
HELPID Nil
TABSTOP .T.
VISIBLE .T.
READONLY .F.
HSCROLLBAR .F.
VSCROLLBAR .T.
DISABLEDBACKCOLOR Nil
DISABLEDFONTCOLOR Nil
BACKCOLOR Nil
FONTCOLOR Nil
END EDITBOX
From
https://hmglights.wordpress.com/2010/10 ... o-editbox/
Via google translator:
This has already been a question of mine, I searched many times and it went unnoticed by me, I think the reason was to have used other programming languages, where this option is normally treated as automatic line wrapping, but here it is simply enough to define that the component will not have horizontal scroll to have the line break and the reverse to not have the line break. It's quite logical, but it can go unnoticed if we don't pay attention.
Best regards,
Itamar M. Lins Jr.