FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with alignment in SAY command
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Problem with alignment in SAY command
Posted: Fri Mar 01, 2024 10:01 PM

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?

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Problem with alignment in SAY command
Posted: Fri Mar 01, 2024 10:19 PM

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

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problem with alignment in SAY command
Posted: Fri Mar 01, 2024 10:25 PM
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?
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: Problem with alignment in SAY command
Posted: Sat Mar 02, 2024 12:37 PM
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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion