Page 2 of 2

Re: Problem with alignment in SAY command

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: 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/viewtopic.php?f=6&t=43763&p=264159&hilit=workshop&sid=8693f511f5f1ca2b9c0037589c6afb85&sid=8693f511f5f1ca2b9c0037589c6afb85#p264159

Editores by Antonio Linãres:

https://forums.fivetechsupport.com/viewtopic.php?f=17&t=12773&sid=8693f511f5f1ca2b9c0037589c6afb85

Regards, saludos.