Problem with alignment in SAY command

Re: Problem with alignment in SAY command

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Problem with alignment in SAY command

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: Problem with alignment in SAY command

Postby Enrico Maria Giordano » 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?
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Problem with alignment in SAY command

Postby karinha » 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
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 36 guests