Page 2 of 2
Re: Problem with alignment in SAY command
Posted: Fri Mar 01, 2024 10:01 pm
by driessen
Hello Otto,
Thank you for your message.
That is exactly my problem. In my resource builder, the field is defined with right alignment. But in my application, the right alignment is ignored. And I don't know why.
Which resource builder are you using?
Re: Problem with alignment in SAY command
Posted: Fri Mar 01, 2024 10:19 pm
by Otto
Michel,
I use Pelles C from 2009 ´, Version 6.00.4
I checked and compiled it with the following setup: yes - no, and here it is working.
Sometimes I use text from a DBF file, which is, for example, 160 characters long, and forget to apply ALLTRIM(). Then, you might have some spaces on the right.
Best regards,
Otto
If I save my res as rc:
right no:
CONTROL "heute", 4001, "Static", WS_GROUP, 36, 44, 100, 8
right yes:
CONTROL "heute", 4001, "Static", WS_GROUP, 36, 44, 100, 8, WS_EX_RIGHT
Re: Problem with alignment in SAY command
Posted: Fri Mar 01, 2024 10:25 pm
by Enrico Maria Giordano
driessen wrote:In my resource builder, the field is defined with right alignment. But in my application, the right alignment is ignored. And I don't know why.
Have you tried my sample? Is it working for you?
Re: Problem with alignment in SAY command
Posted: Sat Mar 02, 2024 12:37 pm
by karinha
driessen wrote:Hello Otto,
Thank you for your message.
That is exactly my problem. In my resource builder, the field is defined with right alignment. But in my application, the right alignment is ignored. And I don't know why.
Which resource builder are you using?
Good morning Driessen. Have you tried reinstalling your resource editor? Or check if there is a component missing? Why not install WORKSHOP.exe? Today, it works perfectly on 64-bit Windows.
Buenos días Driessen. ¿Has intentado reinstalar tu editor de recursos? ¿O comprobar si falta algún componente? ¿Por qué no instalar WORKSHOP.exe? Hoy en día funciona perfectamente en Windows de 64 bits.
Mira, look:
https://forums.fivetechsupport.com/view ... 85#p264159
Editores by Antonio Linãres:
https://forums.fivetechsupport.com/view ... 589c6afb85
Regards, saludos.